TypeError: Audio.__init__() got an unexpected keyword argument 'source'
Traceback (most recent call last):
File "/root/autodl-tmp/MotionGPT-main/app.py", line 512, in
Gradio had a recent major upgrade, that's probably why it has some changes in api.
Try downgrading the gradio library:
pip install gradio==3.41.0
For me (2023.12.23)
Erorr still occurs with gradio == 3.41.0:
TypeError: Audio.__init__() got an unexpected keyword argument 'source'
pip install gradio==3.41.0 is ok
i tried but another error exist, so i tried gradio == 3.44.0 is ok, perfect solved