Skip to content

fix: 修复百度语音合成长文处理 #2592

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

thzjy
Copy link
Contributor

@thzjy thzjy commented May 18, 2025

百度TTS语音合成513错误代码 #1037

#1037

@6vision
Copy link
Collaborator

6vision commented May 21, 2025

您好,简单测试了下长文本语音合成都要好几分钟,有两个地方应该要改一下:
1、gbk_len <= 120 ,官方短文本最大长度为1024,这里建议改一下。不然很容易走到长文本合成逻辑,一是时间久,二是如果当前用户没开通长文本接口,会报错,不兼容
2、轮询长文本合成结果的时候,时间过短,我这边测试要至少3分钟以上了,建议多次测试一下看看,调大该值

@6vision 6vision merged commit a84f31d into zhayujie:master May 23, 2025
@6vision
Copy link
Collaborator

6vision commented May 23, 2025

感谢PR~

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

Successfully merging this pull request may close these issues.

2 participants