name 'logger' is not defined[faster-whisper(本地内置), Google(免费), OmniVoice(本地API)]
Traceback (most recent call last):
File "videotrans\recognition\_whisper.py", line 124, in _faster
File "videotrans\configure\base.py", line 261, in _new_process
videotrans.configure.excepts.SttTimeoutError: STT timeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 324, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 94, in run
File "videotrans\recognition\_whisper.py", line 38, in _exec
File "videotrans\recognition\_whisper.py", line 127, in _faster
NameError: name 'logger' is not defined
TaskCfgVTT(uuid='07773a79c3', name='E:/Download/ckry.mp4', dirname='E:/Download', noextname='ckry', basename='ckry.mp4', ext='mp4', target_dir='E:/Download/_video_out/ckry-mp4', cache_folder='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3', is_cuda=True, source_language='简体中文', source_language_code='zh-cn', source_sub='E:/Download/_video_out/ckry-mp4/zh-cn.srt', source_wav='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3/zh-cn.wav', source_wav_output='E:/Download/_video_out/ckry-mp4/zh-cn.m4a', target_language='韩语', target_language_code='ko', target_sub='E:/Download/_video_out/ckry-mp4/ko.srt', target_wav='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3/target.wav', target_wav_output='E:/Download/_video_out/ckry-mp4/ko.m4a', translate_type=0, tts_type=2, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='clone', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=False, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='E:/Download/_video_out/ckry-mp4/ckry.mp4', novoice_mp4='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3/novoice.mp4', is_separate=False, embed_bgm=True, instrument='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3/instrument.wav', vocal='E:/00-System/win-pyvideotrans-v4.02-0615/tmp/25552/07773a79c3/vocal.wav', clear_cache=False, background_music='', subtitle_type=0, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)
=
system:Windows-10-10.0.19045-SP0
version:v4.02
frozen:True
language:zh
root_dir:E:/00-System/win-pyvideotrans-v4.02-0615