翻译字幕阶段出错 [字节大模型] Error code: 400 - {'error': {'code': 'OutputTextSensitiveContentDetected', 'message': 'The request failed because the output text may contain sensitive information. Request id: 021776891265395336c0ccc8833e375a271994f02c20b0975d327', 'param': '', 'type': 'BadRequest'}}
Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 45, in _item_task
File "openai\resources\responses\responses.py", line 898, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.BadRequestError: Error code: 400 - {'error': {'code': 'OutputTextSensitiveContentDetected', 'message': 'The request failed because the output text may contain sensitive information. Request id: 021776891265395336c0ccc8833e375a271994f02c20b0975d327', 'param': '', 'type': 'BadRequest'}}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\trans_create.py", line 659, in trans
File "videotrans\translator\__init__.py", line 969, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_huoshan.py", line 55, in _item_task
RuntimeError: Error code: 400 - {'error': {'code': 'OutputTextSensitiveContentDetected', 'message': 'The request failed because the output text may contain sensitive information. Request id: 021776891265395336c0ccc8833e375a271994f02c20b0975d327', 'param': '', 'type': 'BadRequest'}}
TaskCfgVTT(is_cuda=True, uuid='80811b8468', cache_folder='F:/win-pyvideotrans-v3.99-418/tmp/8448/80811b8468', target_dir='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4', source_language='英语', source_language_code='en', source_sub='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4/en.srt', source_wav='F:/win-pyvideotrans-v3.99-418/tmp/8448/80811b8468/en.wav', source_wav_output='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4/zh-cn.srt', target_wav='F:/win-pyvideotrans-v3.99-418/tmp/8448/80811b8468/target.wav', target_wav_output='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4/zh-cn.m4a', name='F:/AAA/Stress and Your Body/14 - Stress, Judgment, and Impulse Control.mp4', noextname='14 - Stress, Judgment, and Impulse Control', basename='14 - Stress, Judgment, and Impulse Control.mp4', ext='mp4', dirname='F:/AAA/Stress and Your Body', shound_del_name=None, translate_type=13, 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='en', recogn_type=1, model_name='large-v3', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/AAA/Stress and Your Body/_video_out/14 - Stress, Judgment, and Impulse Control-mp4/14 - Stress, Judgment, and Impulse Control.mp4', novoice_mp4='F:/win-pyvideotrans-v3.99-418/tmp/8448/80811b8468/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=3, only_out_mp4=True, recogn2pass=True, output_srt=2, copysrt_rawvideo=False)
=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v3.99-418