#5968 无效的值或参数:The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show

141.11* Posted at: 6 hours ago

无效的值或参数: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\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 309, in run
File "videotrans\tts\_base.py", line 177, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_f5tts.py", line 313, in _run
File "videotrans\tts\_f5tts.py", line 82, in _item_task_v1
File "gradio_client\client.py", line 478, in predict

).result()

File "gradio_client\client.py", line 1539, in result

return super().result(timeout=timeout)

File "concurrent\futures\_base.py", line 446, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "gradio_client\client.py", line 1158, in _inner

predictions = _predict(*data)

File "gradio_client\client.py", line 1270, in _predict

raise AppError(

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().


=
system:Windows-10-10.0.19045-SP0
version:v3.83
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.83

1 Replies

这是由于 F5-TTS 服务连接错误导致的。

原因:F5-TTS 是本地部署的配音服务(依赖 Gradio 接口),软件在调用其 predict 方法时,服务端返回了未处理的异常。常见原因是 F5-TTS 服务未启动API 地址错误服务异常崩溃

解决方法

  1. 确认 F5-TTS 服务已启动:确保你已按照教程本地部署并成功启动了 F5-TTS 的 WebUI 或 API 服务,服务必须处于运行状态。
  2. 检查 API 地址:在软件 菜单 → TTS 设置 → F5-TTS 面板中,确认 API 地址填写正确,默认地址应为 http://127.0.0.1:7860(或你在部署时指定的端口)。
  3. 重启服务:如果服务已启动但仍报错,说明 F5-TTS 内部发生了错误(如模型加载失败、显存不足等),请重启 F5-TTS 服务并观察其控制台输出以排查具体原因。
  4. 临时更换渠道:如果无需音色克隆,建议先改为使用 Edge-TTS(免费) 配音渠道,该渠道开箱即用,可快速验证其他功能是否正常。

请查阅相关文档:

如果问题依旧,请提供 F5-TTS 服务端的控制台报错信息,以便进一步分析。

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 via ko-fi.com

Dondate via PayPal

Related resource