Instructions to use levihsu/OOTDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use levihsu/OOTDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("levihsu/OOTDiffusion", 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
Images are not generating
#13
by Sashank57 - opened
I have run the code perfectly and after initial seed when results are stored, there is no images in those png files, its just black images everywhere. pls help me, i need this
Any luck getting it to work? I just signed up for a Pro account thinking that would give me the computing resources to make this work, but it keeps giving the same "error" message in the output pane.