Instructions to use rooroo79/music-spectrogram-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rooroo79/music-spectrogram-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rooroo79/music-spectrogram-diffusion", 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
Drop protobuf pin so note-seq can install
Browse files- requirements.txt +4 -6
requirements.txt
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
# Extra packages for a Custom Inference Endpoint.
|
| 2 |
# Do not pin torch/transformers/accelerate — the toolkit image already has them.
|
| 3 |
-
#
|
| 4 |
diffusers>=0.29.0,<0.35.0
|
| 5 |
-
note-seq
|
| 6 |
-
pretty_midi
|
| 7 |
-
|
| 8 |
-
onnxruntime==1.19.2
|
| 9 |
-
protobuf>=3.20,<4
|
|
|
|
| 1 |
# Extra packages for a Custom Inference Endpoint.
|
| 2 |
# Do not pin torch/transformers/accelerate — the toolkit image already has them.
|
| 3 |
+
# Do not pin protobuf: note-seq wants protobuf>=4, and a <4 pin makes pip skip the lot.
|
| 4 |
diffusers>=0.29.0,<0.35.0
|
| 5 |
+
note-seq
|
| 6 |
+
pretty_midi
|
| 7 |
+
onnxruntime
|
|
|
|
|
|