-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
autoDL无法打开UI界面 #3591
Comments
文件可以下载的 |
(base) root@autodl-container-86c345b8d6-33e0bb80:~# wget https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 |
可能是网络问题,这个文件本地下载后上传试试,不是病毒。 |
(llama_factory) root@autodl-container-eab742abf6-18fe0790:~/factory/LLaMA-Factory# llamafactory-cli webui Could not create share link. Please check your internet connection or our status page: https://status.gradio.app. |
是在服务器上运行的 |
autodl 不支持创建 share 链接,需要映射端口到 6006 并且在控制台开启外部访问 |
我也是
webui.py我改了: server_port = int(os.environ.get("GRADIO_SERVER_PORT", "6006")) 然后autodl上面运行也输出了: (llama) root@autodl-container-0282478d7c-f76a42c7:~/LLaMA-Factory/src# python webui.py 然后去控制台打开自定义服务进去了。但是里面全部都是文字和符号,挤得乱七八糟的。我在本地上运行完全没有问题,但在autodl就这样了。上个月我在autodl用这个项目web界面不会这样 |
autodl 上要安装 pip install gradio==4.10 |
已解决,到文件根目录下执行:
即可 |
兄弟你解决了吗?你上面发的图片和我遇到的问题一模一样 |
感谢感谢 |
红豆泥阿里嘎多 |
可以问一下具体怎么做吗 外部访问 我的端口拒绝访问 |
同样是如此问题, 安装 |
这个方法对我有用,并且目前我的gradio使用的是最新版本 |
pip install gradio==4.44.1 |
Reminder
Reproduction
(llama_factory) root@autodl-container-eab742abf6-18fe0790:~/factory/LLaMA-Factory# llamafactory-cli webui
Running on local URL: http://127.0.0.1:7861/
Could not create share link. Missing file: /root/miniconda3/envs/llama_factory/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2.
Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:
Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
Rename the downloaded file to: frpc_linux_amd64_v0.2
Move the file to this location: /root/miniconda3/envs/llama_factory/lib/python3.10/site-packages/gradio
Expected behavior
https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
这个文件好像也下载不了
该怎么弄呢
System Info
No response
Others
No response
The text was updated successfully, but these errors were encountered: