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.
The community tab is the place to discuss and collaborate with the HF community!