Skip to content
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

Chat Mini-Omni Demo start 后提示没有输出设备 #37

Closed
future911 opened this issue Sep 6, 2024 · 10 comments
Closed

Chat Mini-Omni Demo start 后提示没有输出设备 #37

future911 opened this issue Sep 6, 2024 · 10 comments

Comments

@future911
Copy link

omni_streamlit 启动后,在 web 页面点击 start 后报错,错误如下

image
image
image

客户端访问使用的 MacBook ,音响和耳麦一切正常,请各位老师帮忙看看

@BrenchCC
Copy link

BrenchCC commented Sep 6, 2024

streamlit有点问题,你会发现你的浏览器没有显示你在使用麦克风,我用gradio是可以的

Snipaste_2024-09-06_17-15-13

Snipaste_2024-09-06_17-16-17

@future911
Copy link
Author

@BrenchCC
我使用 gradio 其他都正常,但是提示找不到麦克风,语音交互只能通过录音文件来交换
image

@mini-omni
Copy link
Contributor

我也是mac环境,使用的chrome浏览器,如果是streamlit,确认下本地有安装pyaudio,ffmpeg么?

@future911
Copy link
Author

我也是mac环境,使用的chrome浏览器,如果是streamlit,确认下本地有安装pyaudio,ffmpeg么?

你好,这两个包均已安装
image

@pxz2016
Copy link

pxz2016 commented Sep 9, 2024

使用 https 协议才能启用麦克风

@pxz2016
Copy link

pxz2016 commented Sep 9, 2024

omni_streamlit 启动后,在 web 页面点击 start 后报错,错误如下

image image image

客户端访问使用的 MacBook ,音响和耳麦一切正常,请各位老师帮忙看看

也碰到了这个问题,有解决的吗?使用了 https 域名方式也不行。
gradio 的demo可以正常运行,streamlit的不行。

@pxz2016
Copy link

pxz2016 commented Sep 9, 2024

@mini-omni
streamlit的demo需要在本地运行是吗?不能在云端linux服务器上运行吗?
pyaudio是一个Python库,它的主要设计目的是在本地运行时访问音频硬件

@VJJJJJJ1
Copy link

VJJJJJJ1 commented Sep 9, 2024

@mini-omni streamlit的demo需要在本地运行是吗?不能在云端linux服务器上运行吗? pyaudio是一个Python库,它的主要设计目的是在本地运行时访问音频硬件

我也遇到一样的问题,云服务器运行streamlit的demo,在本地浏览器打开url,无法录制音频,请问您解决这个问题了吗?

@mini-omni
Copy link
Contributor

@mini-omni streamlit的demo需要在本地运行是吗?不能在云端linux服务器上运行吗? pyaudio是一个Python库,它的主要设计目的是在本地运行时访问音频硬件

@VJJJJJJ1 @pxz2016 hi,目前streamlit是依赖pyaduio,这是需要在本地运行的,无法支持云端运行本地访问。目前,我也不清楚如何用streamlit实现云端执行,本地访问,支持支持audio streaming,如果有方案欢迎分享。参考:https:/whitphx/streamlit-webrtc-example/tree/main

@mini-omni
Copy link
Contributor

I'll close it for now, please feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants