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

运行 streamlit一直处于listen状态 #56

Closed VJJJJJJ1 closed 1 month ago

VJJJJJJ1 commented 1 month ago

如题,gradio已能成功运行,但是运行streamlit的时候网页一直处于listen状态,就算我讲完一句话也是这样

warm up done, time_cost: 0.054 s
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
duration_after_vad: 0.000 s, time_vad: 0.966 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.005 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.003 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s
duration_after_vad: 0.000 s, time_vad: 0.004 s

网页图片如下: image

moffefei commented 1 month ago

the same problem 一样的问题

mini-omni commented 1 month ago

请先确认下,网页是否可以正常访问电脑mic

tianke0711 commented 1 month ago

@VJJJJJJ1 你好 问你一下怎么运行gradio? 我在服务器里运行

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().

是这样的状态 。感觉没成功。

VJJJJJJ1 commented 1 month ago

@VJJJJJJ1 你好 问你一下怎么运行gradio? 我在服务器里运行

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().

是这样的状态 。感觉没成功。

直接访问http://127.0.0.1:7860/即可