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
- Xet hash:
- dc0e5a06e3454c743c4c982ab8c4528b432de6c9ebb22bd91b1a40dbc1530928
- Size of remote file:
- 69.2 MB
- SHA256:
- 6d862957fbb1f769ea40d1e22eefcd07e585ccbea8aa467e3ef2e476ad0ef951
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.