Instructions to use facebook/magnet-small-30secs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Audiocraft
How to use facebook/magnet-small-30secs with Audiocraft:
from audiocraft.models import MAGNeT model = MAGNeT.get_pretrained("facebook/magnet-small-30secs") descriptions = ['disco beat', 'energetic EDM', 'funky groove'] wav = model.generate(descriptions) # generates 3 samples. - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!