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

🐛 Bug: 聊天页 语音聊天 OSError: [Errno -9981] Input overflowed #901

Open
Ikaros-521 opened this issue Jun 24, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Ikaros-521
Copy link
Owner

Ikaros-521 commented Jun 24, 2024

操作系统

Ubuntu

Python 版本

3.10.11

AI Vtuber 版本

20240625

描述问题

Linux 聊天页 whisper 启动后报错

2024-06-25 00:03:22 - /home/wei/AITest/AI-Vtuber/main.py[line:513] - ERROR: Traceback (most recent call last):
  File "/home/wei/AITest/AI-Vtuber/main.py", line 467, in do_listen_and_comment
    frames = audio_listen(config.get("talk", "volume_threshold"), config.get("talk", "silence_threshold"))
  File "/home/wei/AITest/AI-Vtuber/main.py", line 303, in audio_listen
    data = stream.read(CHUNK)
  File "/home/wei/anaconda3/envs/aivtb/lib/python3.10/site-packages/pyaudio/__init__.py", line 570, in read
    return pa.read_stream(self._stream, num_frames,
OSError: [Errno -9981] Input overflowed

复现步骤

正常部署,改了不少调用后,直接跑到聊天函数

期望的结果

No response

截图或日志

No response

@Ikaros-521 Ikaros-521 added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant