Instructions to use facebook/magnet-medium-10secs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Audiocraft
How to use facebook/magnet-medium-10secs with Audiocraft:
from audiocraft.models import MAGNeT model = MAGNeT.get_pretrained("facebook/magnet-medium-10secs") 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
|
@@ -2,6 +2,7 @@
|
|
| 2 |
inference: true
|
| 3 |
tags:
|
| 4 |
- magnet
|
|
|
|
| 5 |
|
| 6 |
license: cc-by-nc-4.0
|
| 7 |
|
|
@@ -55,7 +56,7 @@ apt-get install ffmpeg
|
|
| 55 |
from audiocraft.models import MAGNeT
|
| 56 |
from audiocraft.data.audio import audio_write
|
| 57 |
|
| 58 |
-
model = MAGNeT.get_pretrained("facebook/magnet-
|
| 59 |
|
| 60 |
descriptions = ["happy rock", "energetic EDM"]
|
| 61 |
|
|
|
|
| 2 |
inference: true
|
| 3 |
tags:
|
| 4 |
- magnet
|
| 5 |
+
- audiocraft
|
| 6 |
|
| 7 |
license: cc-by-nc-4.0
|
| 8 |
|
|
|
|
| 56 |
from audiocraft.models import MAGNeT
|
| 57 |
from audiocraft.data.audio import audio_write
|
| 58 |
|
| 59 |
+
model = MAGNeT.get_pretrained("facebook/magnet-medium-10secs")
|
| 60 |
|
| 61 |
descriptions = ["happy rock", "energetic EDM"]
|
| 62 |
|