hahahumble / speechgpt

💬 SpeechGPT is a web application that enables you to converse with ChatGPT.
https://speechgpt.app
MIT License
2.74k stars 405 forks source link

Aruze #19

Open freer123 opened 1 year ago

freer123 commented 1 year ago

Describe the bug

Aruze recognition service doesn't work (even with Aruze key), but Aruze synthesis works well.

Steps to reproduce

1.press the record button; 2."there was an error with Aruze recognition service."

Screenshots or additional context

No response

erbanku commented 1 year ago

Please ensure you have selected the corresponding language for azure speech recognition, and allow the site access to your microphone. If this does not work, please try on the latest version of other browsers. Google Chrome and Microsoft Edge are recommended.

erbanku commented 1 year ago

And make sure Azure Region is selected correctly, your network environment allows you to connect this service, you can test this by turning on VPN.

freer123 commented 1 year ago

All checked but the problem remains. It may be caused by the modification from the developers. The bulit-in speech recognition service of mobile device version doesn't work as well.

TomBener commented 1 year ago

All checked but the problem remains. It may be caused by the modification from the developers. The bulit-in speech recognition service of mobile device version doesn't work as well.

Same issue here. I have set the environment variables and the OpenAI API works well. But Azure TTS does not work, and it prompted “There was an error with Azure speech synthesis”.

hahahumble commented 1 year ago

All checked but the problem remains. It may be caused by the modification from the developers. The bulit-in speech recognition service of mobile device version doesn't work as well.

Same issue here. I have set the environment variables and the OpenAI API works well. But Azure TTS does not work, and it prompted “There was an error with Azure speech synthesis”.

There is indeed this problem, and only the iOS browser has this problem

EdisonWendy commented 1 year ago

我用的Microsoft edge浏览器,已填入Azure key,但也存在此问题 image

hahahumble commented 1 year ago

很有可能是 Azure 密钥的问题,可以检查一下是不是用的这里的密钥

image-hlDszq7e

TomBener commented 1 year ago

@hahahumble 是从这个位置获取的 key

EdisonWendy commented 1 year ago

很有可能是 Azure 密钥的问题,可以检查一下是不是用的这里的密钥

image-hlDszq7e

之前不知道从这里获取的API,修改为这个API就好了,谢谢!

erbanku commented 1 year ago

检查一下位置/区域是否填写有误?

vivibro commented 1 year ago

Is it related to unresolved domain names and direct access to server IP?

vivibro commented 1 year ago

The browser does not support non HTTPS links to access the computer's microphone API. If you are using it in Chrome, you can enter "chrome://flags/#unsafely -Treat secure origin as secure,](chrome://flags/#unsafely-treat-insecure-origin-as-secure) write your non HTTP address in the input box, and change disable to enable. Click on the lower right corner again to restart the browser at relench 微信截图_20230523002001

vivibro commented 1 year ago

The browser does not support non HTTPS links to access the computer's microphone API. If you are using it in Chrome, you can enter "chrome://flags/#unsafely -Treat secure origin as secure,](chrome://flags/#unsafely-treat-insecure-origin-as-secure) write your non HTTP address in the input box, and change disable to enable. Click on the lower right corner again to restart the browser at relench 微信截图_20230523002001

浏览器不支持非https的链接访问计算机在麦克风api,如果你使用在chrome,可以进入chrome://flags/#unsafely-treat-insecure-origin-as-secure,将你非http地址写在输入框里面,同时将disable改为enbale。再点击右下角在relunch重启浏览器即可