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

大模型是流式输出的情况下,tts也用gptsovits流式输出,只会播放最后一句,怎么办 #256

Open
dizhenx opened this issue Sep 13, 2024 · 1 comment

Comments

@dizhenx
Copy link

dizhenx commented Sep 13, 2024

大模型是流式输出的情况下,tts也用gptsovits流式输出,只会播放最后一句
大模型用的websockets做流式输出,输出语句传给human接口后,gptsovits也是流式的,但是,只能播放最后一句,前面的句子貌似没来得及播放就被后面新来的流式输出给覆盖了,结果一大段话,只有最后一个流式的句子会被tts语音合成出来?这个该怎么解决?是gptsovits要设置一下,还是human接口下面,要把大模型给的流式输出一句句缓存做个队列,然后按顺序发送给tts?

@lipku
Copy link
Owner

lipku commented Sep 14, 2024

不用打断模式,修改前端页面 interrupt:false

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

2 participants