Seed is limited to 10, duration is limited to 30s

#1
by entityinarray - opened

Seed is limited to 10, duration is limited to 30s

That's correct - feel free to duplicate the demo and change these lines if you want to update them: https://huggingface.co/spaces/sanchit-gandhi/musicgen-streaming/blob/ad404fa0fa55e07ee50b775fd3ecea63bff7d81d/app.py#L217-L219

(Note that MusicGen has a max length of 30s though due to it's learned positional embeddings, which only extend to 30s of audio)

Hi, i've tried to implement this, unfortunately generate_continuation function could only be used on MusicGen class. I could only use generate function with the prev generated audio passed as the input. The audio sounds really awful as it doesn't have a smooth transition

Sign up or log in to comment