gpt-omni / mini-omni

open-source multimodal large language model that can hear, talk while thinking. Featuring real-time end-to-end speech input and streaming audio output conversational capabilities.
https://arxiv.org/abs/2408.16725
MIT License
2.72k stars 252 forks source link

API_URL=http://0.0.0.0:60808/chat python3 webui/omni_gradio.py #90

Open tianke0711 opened 1 week ago

tianke0711 commented 1 week ago

运行下面命令在服务器上 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 in launch().

访问不成功

yufeng97 commented 5 days ago

服务器是本机吗,如果是远程的加上--port 7860

API_URL=http://0.0.0.0:60808/chat python3 webui/omni_gradio.py--port 7860

应该能访问

mini-omni commented 5 days ago

如果是在服务器上启动gradio,可以试试share=True,主要保证你本地机器与服务器的访问是通畅的,比如你可以访问到服务器上的7860这个端口(这过程中可能涉及一些端口转发之类的问题)。也可以直接在gradio官方帮助做的demo上体验:https://huggingface.co/spaces/gradio/omni-mini