Closed jackchaufy closed 4 months ago
finally, I figured out the reason. from
outputs = MODEL.generate(texts, progress=progress, return_tokens=USE_DIFFUSION)
to
outputs = MODEL.generate([texts], progress=progress, return_tokens=USE_DIFFUSION)
I am running audiocraft in AWS G4dn.xlarge with NVDA T4.
I have no error using Gradio with model 'facebook/musicgen-large', duration 30s https://github.com/facebookresearch/audiocraft/blob/main/demos/musicgen_app.py
but if I run in python with this
then I got
so what is the different between with and without Gradio?
and how to fix this? Thanks all.