#1422 videotrans.configure._except.StopRetry: GPT-SoVITS error-1:{'message': 'text_lang: es is not supported in version v2'}

38.182* Posted at: 3 hours ago 👁9

网络连接失败:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 279, in run
File "videotrans\tts\_base.py", line 177, in run
File "videotrans\tts\_gptsovits.py", line 115, in _item_task
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 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_gptsovits.py", line 99, in _run
videotrans.configure._except.StopRetry: GPT-SoVITS error-1:{'message': 'text_lang: es is not supported in version v2'}


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

1 Replies

这个错误表明您在尝试使用 GPT-SoVITS 进行语音合成时,目标语言不被支持。错误信息明确指出 text_lang: es is not supported in version v2,说明 GPT-SoVITS v2 版本不支持西班牙语(es)的语音合成。

解决方案:

  1. 更换配音渠道:这是最直接的解决方法。GPT-SoVITS 对语言支持有限。请切换到其他支持西班牙语的配音渠道,例如:

    • Edge-TTS:免费且开箱即用,支持多种语言。
    • Azure TTSOpenAI TTS:通过 API 调用,语言支持非常广泛。
    • 其他您已配置且支持目标语言的在线 TTS 服务。
  2. 操作步骤

    • 在软件主界面的“配音渠道”下拉菜单中,选择一个支持您目标语言(西班牙语)的其他渠道。
    • 如果选择的是需要 API Key 的渠道(如 Azure、OpenAI),请确保已在 菜单 -> 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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions