Dubbing Error:[Edge-TTS(Free)] Network connection failed:
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 123, in run
RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\job.py", line 224, in run
File "videotrans\task\trans_create.py", line 496, in dubbing
File "videotrans\task\trans_create.py", line 783, in _tts
File "videotrans\tts\__init__.py", line 279, in run
File "videotrans\tts\_base.py", line 188, in run
File "videotrans\tts\_edgetts.py", line 72, in _create_audio_with_retry
File "asyncio\tasks.py", line 445, in wait_for
File "edge_tts\communicate.py", line 590, in save
File "edge_tts\communicate.py", line 573, in stream
File "edge_tts\communicate.py", line 431, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1078, in _ws_connect
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=E0682714E2FC1678677844BD35E7467A5B03614239A05F23E3F0B6903D126087&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=24b20b436e9a4149b06a007256989beb'
TaskCfg(cache_folder='C:/Users/User/Desktop/Business/AI/tmp/4328/123411fa09', target_dir='C:/Users/User/Desktop/OUTPUT/odev-mp4', remove_noise=False, is_separate=False, detect_language='tr', subtitle_language=None, source_language='Turkish', target_language='Portuguese', source_language_code='tr', target_language_code='pt', source_sub='C:/Users/User/Desktop/OUTPUT/odev-mp4/tr.srt', target_sub='C:/Users/User/Desktop/OUTPUT/odev-mp4/pt.srt', source_wav='C:/Users/User/Desktop/Business/AI/tmp/4328/123411fa09/tr.wav', source_wav_output='C:/Users/User/Desktop/OUTPUT/odev-mp4/tr.m4a', target_wav='C:/Users/User/Desktop/Business/AI/tmp/4328/123411fa09/target.wav', target_wav_output='C:/Users/User/Desktop/OUTPUT/odev-mp4/pt.m4a', subtitles='', novoice_mp4='C:/Users/User/Desktop/Business/AI/tmp/4328/123411fa09/novoice.mp4', noextname='odev', shibie_audio=None, targetdir_mp4='C:/Users/User/Desktop/OUTPUT/odev-mp4/odev.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Antonio(Male/BR)', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=1, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=False, cuda=True, name='C:/Users/User/Desktop/Yeni klasör/odev.mp4', basename='odev.mp4', ext='mp4', dirname='C:/Users/User/Desktop/Yeni klasör', shound_del_name=None, uuid='123411fa09', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)
=
system:Windows-10-10.0.19045-SP0
version:v3.89
frozen:True
language:en
root_dir:C:/Users/User/Desktop/Business/AI