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

edge tts貌似完全挂了 #280

Open
TigerHH6866 opened this issue Oct 19, 2024 · 3 comments
Open

edge tts貌似完全挂了 #280

TigerHH6866 opened this issue Oct 19, 2024 · 3 comments

Comments

@TigerHH6866
Copy link

Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "E:\metahuman-stream\venv\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "E:\metahuman-stream\venv\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "E:\metahuman-stream\ttsreal.py", line 53, in process_tts
self.txt_to_audio(msg)
File "E:\metahuman-stream\ttsreal.py", line 66, in txt_to_audio
asyncio.new_event_loop().run_until_complete(self.__main(voicename,text))
File "E:\metahuman-stream\venv\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "E:\metahuman-stream\ttsreal.py", line 106, in __main
async for chunk in communicate.stream():
File "E:\metahuman-stream\venv\lib\site-packages\edge_tts\communicate.py", line 391, in stream
async with aiohttp.ClientSession(
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 1353, in aenter
self._resp = await self._coro
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 947, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=a948023e557544d3bba7da5b42f37259'

@shruak
Copy link

shruak commented Oct 21, 2024

同样的问题 有什么办法了吗

@ForLuna1998
Copy link

同样的问题 有什么办法了吗

更新edge-tts到6.1.13可以解决

@kryst5l
Copy link

kryst5l commented Oct 23, 2024

更新了之后,发现edge_tts和视频合成后,有点问题,数字人好像不说话了

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

4 participants