#1453 videotrans.configure._except.StopRetry: GPT-SoVITS error-1:{'message': 'tts failed', 'Exception': '參考音頻在3~10秒範圍外,請更換!'}

240e:341* Posted at: 2 hours ago 👁6

GPT-SoVITS error-1:{'message': 'tts failed', 'Exception': '參考音頻在3~10秒範圍外,請更換!'} :
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': 'tts failed', 'Exception': '參考音頻在3~10秒範圍外,請更換!'}


=
system:Windows-10-10.0.22631-SP0
version:v3.84
frozen:True
language:zh
root_dir:E:/videotrans

1 Replies

该错误表明您在 GPT-SoVITS 语音克隆时使用的参考音频时长不在 3 到 10 秒的范围内。

解决方案:

  1. 检查参考音频:您提供的用于克隆音色的音频片段,其时长必须严格在 3 到 10 秒之间
  2. 重新选择参考音频:请截取一段发音清晰、无背景噪音、时长符合要求的音频作为新的参考音频。
  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.

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

Similar issues already exist

Trending Questions