#5400 Dubbing FailedThe upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, se

108.165* Posted at: 18 hours ago

Dubbing FailedThe 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 "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/task/only_one.py", line 86, in run

trk.dubbing()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/task/trans_create.py", line 667, in dubbing

self._tts()

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/task/trans_create.py", line 989, in _tts

run_tts(

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/__init__.py", line 189, in run

return _cls(**kwargs).run()  # type:ignore

File "/Users/user/Desktop/Source/youtube/lib/pyvideotrans/videotrans/tts/_base.py", line 147, in run

raise DubbingSrtError(tr("Dubbing failed") + str(self.error))

videotrans.configure.excepts.DubbingSrtError: Dubbing FailedThe upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show_error=True in launch().

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: /Users/user/Desktop/abc.mp4,
输出结果保存到文件夹: /Users/user/Desktop/abc-mp4,
临时文件夹: /Users/user/Desktop/Source/youtube/lib/pyvideotrans/tmp/76919/dda06cd2f5
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:OpenAI ChatGPT,原始语言:English,目标语言:Vietnamese, 已选 Send SRT
Dubb Channel:F5-TTS(LocalAPI), 角色:clone, 配音语言:Vietnamese, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: No Subs
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:


=
system:macOS-15.7.3-arm64-arm-64bit
version:v4.03
frozen:False
language:en
root_dir:/Users/user/Desktop/Source/youtube/lib/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

This error indicates that the upstream F5-TTS (Local API) service raised an exception, but the Gradio app was launched without verbose error reporting (show_error=True in launch()). The root cause is likely one of the following: the F5‑TTS service is not running, the API URL is misconfigured, the reference audio for clone mode is missing or invalid, or the F5‑TTS service itself encountered an internal error.

Steps to resolve:

  1. Ensure the F5‑TTS service is running
    You need to have the F5‑TTS Gradio web UI started locally (default port 7860). If you haven't already, deploy and launch it:

    # Example (adjust to your actual F5‑TTS setup)
    cd /path/to/F5-TTS
    python app.py

    Make sure the service is fully loaded and accessible at http://127.0.0.1:7860.

  2. Enable verbose error reporting in the F5‑TTS service
    In the F5‑TTS startup script (e.g., app.py or launch.py), find the launch() call and set show_error=True:

    demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)

    Restart the service. This will print the exact error back to pyVideoTrans, helping you identify the issue (e.g., model not found, reference audio error, out‑of‑memory).

  3. Check the API address in pyVideoTrans
    Go to Menu → TTS Settings → F5TTS and confirm the API URL is exactly http://127.0.0.1:7860 (no trailing slash). If you changed the port, adjust accordingly.
  4. Verify the reference audio for clone voice
    Since you are using the clone role, pyVideoTrans automatically crops reference audio from the original video. Ensure that:

    • The original video has clear speech.
    • The audio segments fall within the recommended length (3–10 seconds).
      In Advanced Options → Speech Recognition, set Shortest Speech Duration (ms) to at least 3000 and Longest Speech Duration (seconds) to at most 10.
    • If you want to use a custom reference audio instead, place a 3–10s .wav file in the f5-tts/ folder inside pyVideoTrans root, and register it in Menu → TTS Settings → Reference Audio.
  5. If the problem persists, restart both pyVideoTrans and the F5‑TTS service to clear any stale connections.

Reference documentation

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. Dondate: ko-fi.com/jianchang512

Related resource