Instructions to use cvssp/audioldm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cvssp/audioldm with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cvssp/audioldm", 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 unet/config.json
#8
by irena - opened
- unet/config.json +1 -1
unet/config.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
640
|
| 11 |
],
|
| 12 |
"center_input_sample": false,
|
| 13 |
-
"class_embed_type":
|
| 14 |
"class_embeddings_concat": true,
|
| 15 |
"conv_in_kernel": 3,
|
| 16 |
"conv_out_kernel": 3,
|
|
|
|
| 10 |
640
|
| 11 |
],
|
| 12 |
"center_input_sample": false,
|
| 13 |
+
"class_embed_type": null,
|
| 14 |
"class_embeddings_concat": true,
|
| 15 |
"conv_in_kernel": 3,
|
| 16 |
"conv_out_kernel": 3,
|