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
3.06k stars 273 forks source link

运行server.py启动后,网页打开失败 #30

Closed YMMF007 closed 2 months ago

YMMF007 commented 2 months ago

我的操作系统是Linux 按照文档给的步骤装好环境后,能正常运行server.py,但是打开对应网页会404 46ce1c3c962df31b588895e0b355c9c image 请问我应该怎么解决

BrenchCC commented 2 months ago

应该需要启动

pip install PyAudio==0.2.14
API_URL=http://0.0.0.0:60808/chat streamlit run webui/omni_streamlit.py

它本身只是一个服务开启,没有对应的前端页面,streamlit就是基于模型服务构建一个可操作的接口

YMMF007 commented 2 months ago

应该需要启动

pip install PyAudio==0.2.14
API_URL=http://0.0.0.0:60808/chat streamlit run webui/omni_streamlit.py

它本身只是一个服务开启,没有对应的前端页面,streamlit就是基于模型服务构建一个可操作的接口

哦哦哦,谢谢您,我刚刚用streamlit启动了~之前用streamlit,但是下不来pyaudio,刚刚找到了解决方法~