翻译字幕阶段出错 [Google(免费)] 无效的值或参数:range() arg 3 must not be zero
Traceback (most recent call last):
File "videotrans\task\job.py", line 184, in run
File "videotrans\task\trans_create.py", line 461, in trans
File "videotrans\translator\__init__.py", line 878, in run
File "videotrans\translator\_base.py", line 74, in run
ValueError: range() arg 3 must not be zero
TaskCfg(cache_folder='D:/yy/tmp/31068/f4444c75ca', target_dir='C:/Users/20852/Desktop/_video_out/下载-mp4', remove_noise=True, is_separate=True, detect_language='zh-cn', subtitle_language=None, source_language='简体中文', target_language='英语', source_language_code='zh-cn', target_language_code='en', source_sub='C:/Users/20852/Desktop/_video_out/下载-mp4/zh-cn.srt', target_sub='C:/Users/20852/Desktop/_video_out/下载-mp4/en.srt', source_wav='D:/yy/tmp/31068/f4444c75ca/zh-cn.wav', source_wav_output='C:/Users/20852/Desktop/_video_out/下载-mp4/zh-cn.m4a', target_wav='D:/yy/tmp/31068/f4444c75ca/target.wav', target_wav_output='C:/Users/20852/Desktop/_video_out/下载-mp4/en.m4a', subtitles='', novoice_mp4='D:/yy/tmp/31068/f4444c75ca/novoice.mp4', noextname='下载', shibie_audio=None, targetdir_mp4='C:/Users/20852/Desktop/_video_out/下载-mp4/下载.mp4', instrument='D:/yy/tmp/31068/f4444c75ca/instrument.wav', vocal='D:/yy/tmp/31068/f4444c75ca/vocal.wav', back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Aria(Female/US)', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=16, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=True, cuda=True, name='C:/Users/20852/Desktop/下载.mp4', basename='下载.mp4', ext='mp4', dirname='C:/Users/20852/Desktop', shound_del_name=None, uuid='f4444c75ca', remove_silent_mid=False, align_sub_audio=True, enable_diariz=True, nums_diariz=0, rephrase=2, only_out_mp4=True)
=
system:Windows-10-10.0.26100-SP0
version:v3.91
frozen:True
language:zh
root_dir:D:/yy