Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dm701 opened this issue Nov 1, 2023 · 5 comments
Open

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

dm701 opened this issue Nov 1, 2023 · 5 comments

Comments

@dm701
Copy link

dm701 commented Nov 1, 2023

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

@jimmiles
Copy link

jimmiles commented Nov 2, 2023

Same for me.

@MasterCod2022
Copy link

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.

@dm701
Copy link
Author

dm701 commented Nov 4, 2023

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.

@carlthome
Copy link
Contributor

Interim fix here #65

@Dhiman-Ajay
Copy link

I created PR #66 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants