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

流式接口,所有语音合成完毕后才输出语音 #1802

Open
zhuangzhuangliu2345 opened this issue Nov 22, 2024 · 2 comments
Open

流式接口,所有语音合成完毕后才输出语音 #1802

zhuangzhuangliu2345 opened this issue Nov 22, 2024 · 2 comments

Comments

@zhuangzhuangliu2345
Copy link

今天测试流式的接口,看代码应该是按照文本进行切分,分段合成后输出语音流。但是实际调用过程中发现所有的文本合成后才收到了流式的语音,这个是什么情况。。是我调用方式有问题吗,还是本来就是这样我代码看错了

@acssc
Copy link

acssc commented Nov 26, 2024

batchsize参数改为1试试。默认好像是凑够一个batchsize返回一次

@zhuangzhuangliu2345
Copy link
Author

感谢大佬解答,我设定的就是batchsize为1

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