How to use facebook/audio-magnet-small with Audiocraft:
from audiocraft.models import MAGNeT model = MAGNeT.get_pretrained("facebook/audio-magnet-small") descriptions = ['disco beat', 'energetic EDM', 'funky groove'] wav = model.generate(descriptions) # generates 3 samples.
The community tab is the place to discuss and collaborate with the HF community!