Instructions to use BackTo2014/DDPM-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BackTo2014/DDPM-test with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BackTo2014/DDPM-test", 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
Update model_index.json
Browse files- model_index.json +0 -1
model_index.json
CHANGED
|
@@ -30,5 +30,4 @@
|
|
| 30 |
"sampledImgName": "SampledNoGuidenceImgs.png",
|
| 31 |
"nrow": 8
|
| 32 |
},
|
| 33 |
-
"_class_name": ["diffusers.DiffusionPipeline", "DiffusionPipeline"]
|
| 34 |
}
|
|
|
|
| 30 |
"sampledImgName": "SampledNoGuidenceImgs.png",
|
| 31 |
"nrow": 8
|
| 32 |
},
|
|
|
|
| 33 |
}
|