#4315 TaskCfgVTT(is_cuda=True, uuid='e670583605', cache_folder='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605', target_di

104.238* Posted at: 6 hours ago 👁10

配音阶段出错 [OmniVoice] 无效的值或参数:The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show_error=True in launch().
Traceback (most recent call last):
File "videotrans\task\job.py", line 213, in run
File "videotrans\task\trans_create.py", line 735, in dubbing
File "videotrans\task\trans_create.py", line 1047, in _tts
File "videotrans\tts\__init__.py", line 417, in run
File "videotrans\tts\_base.py", line 193, in run
File "videotrans\tts\_base.py", line 210, in _local_mul_thread
File "videotrans\tts\_omnivoice.py", line 99, in _item_task
File "gradio_client\client.py", line 499, in predict
File "gradio_client\client.py", line 1484, in result
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "gradio_client\client.py", line 1080, in _inner
File "gradio_client\client.py", line 1194, in _predict
gradio_client.exceptions.AppError: The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show_error=True in launch().
TaskCfgVTT(is_cuda=True, uuid='e670583605', cache_folder='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605', target_dir='H:/mid4/_video_out/[email protected]4_8K-wav', source_language='日语', source_language_code='ja', source_sub='H:/mid4/_video_out/[email protected]4_8K-wav/ja.srt', source_wav='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605/ja.wav', source_wav_output='H:/mid4/_video_out/[email protected]4_8K-wav/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='H:/mid4/_video_out/[email protected]4_8K-wav/zh-cn.srt', target_wav='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605/target.wav', target_wav_output='H:/mid4/_video_out/[email protected]4_8K-wav/zh-cn.m4a', name='H:/mid4/[email protected]4_8K.wav', noextname='[email protected]4_8K', basename='[email protected]4_8K.wav', ext='wav', dirname='H:/mid4', shound_del_name=None, translate_type=12, tts_type=2, volume='+30%', pitch='+0Hz', voice_rate='+0%', voice_role='clone', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=0, model_name='large-v3', shibie_audio=None, remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=1, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='H:/mid4/_video_out/[email protected]4_8K-wav/[email protected]4_8K.mp4', novoice_mp4='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605/novoice.mp4', is_separate=False, embed_bgm=False, instrument=None, vocal='D:/win-pyvideotrans-v3.99-420/tmp/17460/e670583605/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=2, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.22631-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.99-420

1 Replies

OmniVoice 服务端抛出了异常,但它的 Gradio 应用没有开启详细错误报告,因此无法直接看到具体错误参数。pyVideoTrans v3.99 已适配 OmniVoice 新增的必选参数 instruct,如果你的软件版本低于 v3.99 就会出现此类错误。

解决方案:

  1. 从官网重新下载最新的 v3.99 完整包:https://pyvideotrans.com/downpackage
  2. 解压并覆盖原有的安装目录。
  3. 如果已经是最新版本,检查 OmniVoice 服务端窗口的错误提示,确认它要求的参数是否满足。若 OmniVoice 再次更新并改变了接口,需等待 pyVideoTrans 发布新的适配版本,或咨询 OmniVoice 的维护者。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource