Instructions to use teticio/audio-diffusion-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use teticio/audio-diffusion-256 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("teticio/audio-diffusion-256", 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 README.md
Browse files
README.md
CHANGED
|
@@ -5,4 +5,4 @@ tags:
|
|
| 5 |
datasets:
|
| 6 |
- teticio/audio-diffusion-256
|
| 7 |
---
|
| 8 |
-
|
|
|
|
| 5 |
datasets:
|
| 6 |
- teticio/audio-diffusion-256
|
| 7 |
---
|
| 8 |
+
De-noising Diffusion Probabilistic Model trained on [teticio/audio-diffusion-256](https://huggingface.co/datasets/teticio/audio-diffusion-256) to generate mel spectrograms of 256x256 corresponding to 5 seconds of audio. The code to convert from audio to spectrogram and vice versa can be found in https://github.com/teticio/audio-diffusion along with scripts to train and run inference.
|