Instructions to use OPPOer/X2Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OPPOer/X2Edit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OPPOer/X2Edit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add pipeline tag, library name, and abstract
Verified signatureThis PR improves the model card by: - Adding `pipeline_tag: image-to-image`, ensuring the model appears in relevant search filters on the Hugging Face Hub (https://huggingface.co/models?pipeline_tag=image-to-image). - Specifying `library_name: diffusers`, which is indicated as the primary library used by the project. - Including the paper abstract for a more comprehensive overview of the model.0e95431 -
Upload model/task_embeddings.bin with huggingface_hub
Verified signature83dac1f -
Upload README.md with huggingface_hub
Verified signature34426c4 -
Upload README.md with huggingface_hub
Verified signaturec7a73a0 -
Upload folder using huggingface_hub
Verified signature458e18e
-
initial commit
Verified signature2ff01a0