license: mit | |
tags: | |
- pytorch | |
- diffusers | |
- unconditional-audio-generation | |
- diffusion-models-class | |
# Model Card for Diffusion Models Class 🧨 | |
This model is a diffusion model for unconditional audio generation of music in the genre Electronic | |
## Usage | |
```python | |
from IPython.display import Audio | |
from diffusers import DiffusionPipeline | |
pipe = DiffusionPipeline.from_pretrained("SeyedAli/audio-diffusion-electronic") | |
output = pipe() | |
display(output.images[0]) | |
display(Audio(output.audios[0], rate=pipe.mel.get_sample_rate())) | |
``` | |