Instructions to use stabilityai/stable-cascade-prior with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-cascade-prior with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-cascade-prior", 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
- Local Apps
- Draw Things
- DiffusionBee
Replaced `c_in` with `in_channels`
#1
by EtienneDosSantos - opened
- prior/config.json +1 -1
prior/config.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
2048,
|
| 33 |
2048
|
| 34 |
],
|
| 35 |
-
"
|
| 36 |
"c_out": 16,
|
| 37 |
"c_pixels": null,
|
| 38 |
"c_r": 64,
|
|
|
|
| 32 |
2048,
|
| 33 |
2048
|
| 34 |
],
|
| 35 |
+
"in_channels": 16,
|
| 36 |
"c_out": 16,
|
| 37 |
"c_pixels": null,
|
| 38 |
"c_r": 64,
|