#5832 Invalid language: zh:Traceback (most recent call last):

113.128* Posted at: 1 hour ago

Invalid language: zh:
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 133, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_supertonic.py", line 31, in _run
File "videotrans\util\helper_supertonic.py", line 234, in call
File "videotrans\util\helper_supertonic.py", line 189, in _infer
File "videotrans\util\helper_supertonic.py", line 120, in call
File "videotrans\util\helper_supertonic.py", line 121, in
File "videotrans\util\helper_supertonic.py", line 103, in _preprocess_text
ValueError: Invalid language: zh


=
system:Windows-10-10.0.26100-SP0
version:v4.05
frozen:True
language:zh
root_dir:E:/soft_run/win-videotrans

1 Replies

Supertonic TTS 渠道不支持中文(zh)语言,它仅支持英、韩、西、法等几种特定语言。

解决方案:更换配音渠道。

  1. 在主界面的 Dubbing Channel 中选择一个支持中文的渠道,例如 Edge-TTS(免费,开箱即用)或 Qwen-TTS(本地内置,支持中文)。
  2. Select Voice 中选择对应的中文发音角色。
  3. 重新开始任务。
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