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

使用语音功能过程中一定要连接梯子吗,是否可以不连 #62

Open
wenziheng777 opened this issue Apr 18, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@wenziheng777
Copy link

Is your feature request related to a problem?

使用语音功能过程中一定要连接梯子吗,是否可以不连

Describe the solution you'd like

使用语音功能过程中一定要连接梯子吗,是否可以不连

Additional context

No response

@wenziheng777 wenziheng777 added the enhancement New feature or request label Apr 18, 2023
@erbanku
Copy link

erbanku commented Apr 18, 2023

我这边尝试是不需要的,但是如果不连接可能有些慢。
可以在你当前网络环境下,用你的 key 连接试试能不能正常输出。

Azure TTS 会向以下地址发送请求:

https://$(region).tts.speech.microsoft.com/cognitiveservices/v1
https://${region}.api.cognitive.microsoft.com/sts/v1.0/issueToken

Amazon Polly 会向以下地址发送请求:

https://polly.${region}.amazonaws.com/v1/speech

如果你的网络环境连接这些地址没问题,那就可以不开代理。网络环境因运营商和地区而已还是建议根据自己网络情况尝试,觉得有问题就请开代理(代理环境下速度可能会快一些)。

@wenziheng777
Copy link
Author

我这边尝试是不需要的,但是如果不连接可能有些慢。 可以在你当前网络环境下,用你的 key 连接试试能不能正常输出。

Azure TTS 会向以下地址发送请求:

https://$(region).tts.speech.microsoft.com/cognitiveservices/v1
https://${region}.api.cognitive.microsoft.com/sts/v1.0/issueToken

Amazon Polly 会向以下地址发送请求:

https://polly.${region}.amazonaws.com/v1/speech

如果你的网络环境连接这些地址没问题,那就可以不开代理。网络环境因运营商和地区而已还是建议根据自己网络情况尝试,觉得有问题就请开代理(代理环境下速度可能会快一些)。

好的,已经可以运行,有了openai key后。另外就是Azure如何获取

@erbanku
Copy link

erbanku commented Apr 19, 2023

Speech service overview

Search speech on the Azure portal and click into the service like the screenshot, and deploy a free speech service, then find your keys in the Keys and Endpoint menu.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants