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

fix: use sdk to complete azure text-to-speech #53

Merged
merged 6 commits into from Apr 21, 2023
Merged

fix: use sdk to complete azure text-to-speech #53

merged 6 commits into from Apr 21, 2023

Conversation

chengfengfengwang
Copy link
Contributor

@chengfengfengwang chengfengfengwang commented Apr 15, 2023

使用Azure APi请求语音会受网络环境限制,有时候会很慢。是否可以用本地SDK合成语音?已在本地测试,在普遍情况下速度要优于API合成
#51

@vercel
Copy link

vercel bot commented Apr 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
speechgpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2023 8:11am

@hahahumble
Copy link
Owner

当 Azure Subscription Key 或者 Region 出现错误时,speakTextAsync() 方法不会直接报错,而是 Websocket 报错,程序就会一直在 Waiting 的状态

image-OUwVqURz

@hahahumble hahahumble merged commit 6fb0ae2 into hahahumble:main Apr 21, 2023
1 of 2 checks passed
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.

None yet

2 participants