#6064 voxcpmtts 该渠道需另行部署并启动后可用self.api_url='http://127.0.0.1:9000'

240e:39c* Posted at: 1 hour ago

voxcpmtts 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9000'
Could not fetch config for http://127.0.0.1:9000/
:
{'text': '你好啊我的朋友,希望你今天开心!', 'role': 'cosy.wav', 'filename': 'H:/pyvideotrans/tmp/30284/1784910286.3429015-14.wav', 'tts_type': 14}
Traceback (most recent call last):
File "videotrans\tts\_gradio.py", line 51, in _send
File "videotrans\tts\_gradio.py", line 36, in get_thread_client
File "gradio_client\client.py", line 162, in init
File "gradio_client\client.py", line 971, in _get_config
ValueError: Could not fetch config for http://127.0.0.1:9000/

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 95, in run
File "videotrans\tts\_base.py", line 216, in _exec
File "videotrans\tts\_base.py", line 176, in _local_mul_thread
File "videotrans\tts\_base.py", line 228, in _item_task
File "videotrans\tts\_voxcpm.py", line 47, in _run
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_gradio.py", line 75, in _send
videotrans.configure.excepts.StopTask: voxcpmtts 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9000'
Could not fetch config for http://127.0.0.1:9000/


=
system:Windows-10-10.0.26100-SP0
version:v4.07
frozen:True
language:zh
root_dir:H:/pyvideotrans

1 Replies

这个错误表明您需要自行部署并启动 VoxCPM-TTS 服务,但软件无法连接到 http://127.0.0.1:9000。请按以下步骤操作:

  1. 检查服务是否已启动:确认您已下载并运行了 VoxCPM-TTS 的 API 服务(通常是启动一个 Python 脚本或可执行程序)。默认 API 地址为 http://127.0.0.1:9000
  2. 核对端口:如果您部署时使用了其他端口,请在软件的 TTS 设置中修改为正确的地址。
  3. 查看启动日志:服务启动后应看到类似 Running on http://127.0.0.1:9000 的提示。若未出现,请确认部署步骤是否完成。

若仍无法解决,请提供服务端启动时的日志信息,以便进一步分析。

请查阅相关文档:

  • VoxCPM-TTS 部署说明(该页面包含类似本地 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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource