readme: ---
  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 Chiptune / Glitch
  
  ## Usage
  
  ```python
  from IPython.display import Audio
  from diffusers import DiffusionPipeline
  
  pipe = DiffusionPipeline.from_pretrained("johnowhitaker/chiptunes_test")
  output = pipe()
  display(output.images[0])
  display(Audio(output.audios[0], rate=pipe.mel.get_sample_rate()))
  ```
  