Instructions to use facebook/audio-magnet-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Audiocraft
How to use facebook/audio-magnet-medium with Audiocraft:
from audiocraft.models import MAGNeT model = MAGNeT.get_pretrained("facebook/audio-magnet-medium") descriptions = ['disco beat', 'energetic EDM', 'funky groove'] wav = model.generate(descriptions) # generates 3 samples. - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
inference:
|
| 3 |
tags:
|
| 4 |
- magnet
|
|
|
|
| 5 |
|
| 6 |
license: cc-by-nc-4.0
|
| 7 |
|
|
@@ -48,7 +49,7 @@ apt-get install ffmpeg
|
|
| 48 |
from audiocraft.models import MAGNeT
|
| 49 |
from audiocraft.data.audio import audio_write
|
| 50 |
|
| 51 |
-
model = MAGNeT.get_pretrained("facebook/magnet-
|
| 52 |
|
| 53 |
descriptions = ["happy rock", "energetic EDM"]
|
| 54 |
|
|
|
|
| 1 |
---
|
| 2 |
+
inference: false
|
| 3 |
tags:
|
| 4 |
- magnet
|
| 5 |
+
- audiocraft
|
| 6 |
|
| 7 |
license: cc-by-nc-4.0
|
| 8 |
|
|
|
|
| 49 |
from audiocraft.models import MAGNeT
|
| 50 |
from audiocraft.data.audio import audio_write
|
| 51 |
|
| 52 |
+
model = MAGNeT.get_pretrained("facebook/audio-magnet-medium")
|
| 53 |
|
| 54 |
descriptions = ["happy rock", "energetic EDM"]
|
| 55 |
|