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