AudioLDM2 icon indicating copy to clipboard operation
AudioLDM2 copied to clipboard

AttributeError: module 'gradio' has no attribute 'Box'

Open dm701 opened this issue 1 year ago • 5 comments

When following the instructions on the readme, cd into audioLDM2 and run python3 app.py it returns the following error:

Traceback (most recent call last): File "app.py", line 226, in with gr.Box(): AttributeError: module 'gradio' has no attribute 'Box'

I've looked at the documentation online for gradio and there does not seem to be a "Box" attribute for gradio, so I'm not quite sure what to do other than raising this issue.

Thank you

dm701 avatar Nov 01 '23 14:11 dm701

Same for me.

jimmiles avatar Nov 02 '23 17:11 jimmiles

Hello, the same thing happened to me, what I did was uninstall gradio and install an older version. For example: pip install gradio==3.30.0 By the way, does anyone know how to download the models? The program opens but does not download any model and just works without doing anything.

MasterCod2022 avatar Nov 04 '23 00:11 MasterCod2022

OK thank you for that, I'll try it later.

I can't say much about downloading the models though as I've not been able to run the program at all.

dm701 avatar Nov 04 '23 06:11 dm701

Interim fix here https://github.com/haoheliu/AudioLDM2/pull/65

carlthome avatar Jan 09 '24 15:01 carlthome

I created PR #66 to fix it.

Dhiman-Ajay avatar Jan 26 '24 04:01 Dhiman-Ajay