Closed khurrameycon closed 6 months ago
原因是 gradio version 4.0.0 they removed it 删掉了这个box https://www.gradio.app/changelog#4-0-0
再进入虚拟环境更新成这个指定版本就行 成功啦 pip install --upgrade gradio==3.50.2
安卓手机可以部署这个工具吗?termux感觉好多报错 @xiaowuzicode
pip show g radio Name: gradio Version: 4.19.2 Kept upgrading gradio so figured I would just fix it.
The following changes fixed this. replace all __js= to just js= change gr.Box() to gr.Group() line 160 of server.py should be shared.gradio['interface'].queue(default_concurrency_limit=64)
Tested a bit to see if anything acted wonky, seemed to be working so far.
This issue has been closed due to inactivity for 2 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.
Describe the bug
After installing Yaml and other modules, now i am facing the issue pertaining to AttributeError: module 'gradio' has no attribute 'Box'
I tried fixing the code, changing it with TextBox, but nothing has happened
Is there an existing issue for this?
Reproduction
When running the start_windows.bat file, this issue appears as shown in screenshot
Screenshot
Logs
System Info