Diffusers
Safetensors
PyTorch
AudioDiffusionPipeline
unconditional-audio-generation
diffusion-models-class
Instructions to use mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch", 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
Download mel/mel_config.json from mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch/resolve/main/mel/mel_config.json
- Command line
-
hf download hf://mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch/mel/mel_config.json
-
curl -L -o mel_config.json https://huggingface.co/mmcgovern574/audio-diffusion-melody-loops-trap-exp-28-epoch/resolve/main/mel/mel_config.json
187 Bytes
| { | |
| "_class_name": "Mel", | |
| "_diffusers_version": "0.32.2", | |
| "hop_length": 512, | |
| "n_fft": 2048, | |
| "n_iter": 32, | |
| "sample_rate": 22050, | |
| "top_db": 80, | |
| "x_res": 256, | |
| "y_res": 256 | |
| } | |