#3213 ValueError: Could not fetch config for http://localhost:8000/run/

240e:b8f* Posted at: 6 hours ago 👁10

无效的值或参数:Could not fetch config for http://localhost:8000/run/:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 17, in run
File "videotrans\recognition\__init__.py", line 256, in run
File "", line 22, in init
File "videotrans\recognition\_qwenasrlocal.py", line 25, in post_init
File "gradio_client\client.py", line 162, in init
File "gradio_client\client.py", line 967, in _get_config
ValueError: Could not fetch config for http://localhost:8000/run/


=
system:Windows-10-10.0.26100-SP0
version:v3.96
frozen:True
language:zh
root_dir:F:/Video_Transform/win-pyvideotrans-v3.96-24

1 Replies

这是由于本地部署的 Qwen-ASR 服务未正确启动或 API 地址配置错误导致的。

  1. 确认服务状态:确保你已按照官方指引成功部署并启动了 Qwen-ASR 的本地 API 服务。检查服务终端窗口是否正常运行,并且监听地址是否为 http://localhost:8000
  2. 验证 API 地址:在 pyVideoTrans 的“语音识别设置”->“Qwen-ASR(本地)”配置中,确认“API地址”填写正确,末尾不应包含 /run/。正确的格式应为 http://localhost:8000http://127.0.0.1:8000
  3. 测试连接:在浏览器中访问 http://localhost:8000,查看是否能打开 Qwen-ASR 服务的 Web 界面。如果无法访问,说明服务未启动成功。
  4. 检查端口占用:确认端口 8000 未被其他程序占用。如果已被占用,需要修改 Qwen-ASR 服务的启动端口,并在 pyVideoTrans 中同步修改 API 地址。

请查阅相关文档:

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