翻译字幕阶段出错 [兼容AI/本地模型] Connection error.
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\connection.py", line 101, in handle_request
File "httpcore\_sync\http11.py", line 143, in handle_request
File "httpcore\_sync\http11.py", line 93, in handle_request
File "httpcore\_sync\http11.py", line 151, in _send_request_headers
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.LocalProtocolError: Illegal header value b'Bearer 1 '
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "openai\_base_client.py", line 1037, in request
......
nt.py", line 1332, in post
File "openai\_base_client.py", line 1072, in request
openai.APIConnectionError: Connection error.
TaskCfgVTT(uuid='24471b2da7', name='E:/迅雷云盘/bit/fanyi/[email protected]4', dirname='E:/迅雷云盘/bit/fanyi', noextname='hhd800.com@MIDA-728', basename='[email protected]4', ext='mp4', target_dir='hhd800.com@MIDA-728-mp4', cache_folder='C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602/tmp/11324/24471b2da7', is_cuda=True, source_language='日语', source_language_code='ja', source_sub='hhd800.com@MIDA-728-mp4/ja.srt', source_wav='C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602/tmp/11324/24471b2da7/ja.wav', source_wav_output='hhd800.com@MIDA-728-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='hhd800.com@MIDA-728-mp4/zh-cn.srt', target_wav='C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602/tmp/11324/24471b2da7/target.wav', target_wav_output='hhd800.com@MIDA-728-mp4/zh-cn.m4a', translate_type=8, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=1, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='tiqu', subtitles='', targetdir_mp4='hhd800.com@MIDA-728-mp4/[email protected]4', novoice_mp4='C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602/tmp/11324/24471b2da7/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602/tmp/11324/24471b2da7/vocal.wav', clear_cache=False, background_music='', subtitle_type=0, only_out_mp4=False, recogn2pass=False, output_srt=2, copysrt_rawvideo=True, loop_backaudio=0, backaudio_volume=0.8)
=
system:Windows-10-10.0.26200-SP0
version:v4.01
frozen:True
language:zh
root_dir:C:/Users/kjncy/Downloads/win-pyvideotrans-v4.01-0602