Open tianke0711 opened 1 week ago
服务器是本机吗,如果是远程的加上--port 7860
API_URL=http://0.0.0.0:60808/chat python3 webui/omni_gradio.py--port 7860
应该能访问
如果是在服务器上启动gradio,可以试试share=True,主要保证你本地机器与服务器的访问是通畅的,比如你可以访问到服务器上的7860这个端口(这过程中可能涉及一些端口转发之类的问题)。也可以直接在gradio官方帮助做的demo上体验:https://huggingface.co/spaces/gradio/omni-mini
运行下面命令在服务器上 API_URL=http://0.0.0.0:60808/chat python3 webui/omni_gradio.py
没有显示成功了 API_URL=http://0.0.0.0:60808/chat python3 webui/omni_gradio.py Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
.访问不成功