Instructions to use Apocalypse-19/musicgen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Apocalypse-19/musicgen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Apocalypse-19/musicgen")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("Apocalypse-19/musicgen") model = AutoModelForTextToWaveform.from_pretrained("Apocalypse-19/musicgen") - Notebooks
- Google Colab
- Kaggle
Commit ·
63429cc
1
Parent(s): a9b1fd7
Create requirements.txt
Browse files- requirements.txt +2 -0
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers==4.31.0
|
| 2 |
+
accelerate>=0.20.3
|