#7563 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载:

200.36**0 Posted at: 1 hour ago

自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'rate': '+0%', 'role': 'zh_female_cn.wav', 'filename': 'C:\Users\ADMINI~1\AppData\Local\Temp/pyvideotrans/1-1790086108.822931.wav', 'tts_type': 1, 'language': 'zh-cn', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 127, in iter
File "httpcore\_sync\connection_pool.py", line 367, in iter
File "httpcore\_sync\connection_pool.py", line 363, in iter
File "httpcore\_sync\http11.py", line 349, in iter
File "httpcore\_sync\http11.py", line 341, in iter
File "httpcore\_sync\http11.py", line 210, in _receive_response_body
File "httpcore\_sync\http11.py", line 220, in _receive_event
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.RemoteProtocolError: peer closed conn
......
d.py", line 58, in run
File "huggingface_hub\_snapshot_download.py", line 435, in _inner_hf_hub_download

hf_hub_download(  # type: ignore

File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\file_download.py", line 976, in hf_hub_download

return _hf_hub_download_to_local_dir(

File "huggingface_hub\file_download.py", line 1427, in _hf_hub_download_to_local_dir

_download_to_tmp_and_move(

File "huggingface_hub\file_download.py", line 1858, in _download_to_tmp_and_move

http_get(

File "videotrans\util\help_down.py", line 109, in _patched_http_get
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\file_download.py", line 421, in http_get

for chunk in response.iter_bytes(chunk_size=constants.DOWNLOAD_CHUNK_SIZE):

File "httpx\_models.py", line 897, in iter_bytes
File "httpx\_models.py", line 951, in iter_raw
File "httpx\_client.py", line 153, in iter
File "httpx\_transports\default.py", line 126, in iter
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.RemoteProtocolError: peer closed connection without sending complete message body (received 21005397 bytes, expected 1811626576)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 230, in run
File "videotrans\tts\_base.py", line 77, in run
File "videotrans\tts\_qwenttslocal.py", line 40, in _download
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/BaiduNetdiskDownload/99999

1 Replies

#1 DeepSeek reply at 1 hour ago

模型自动下载失败,报错 peer closed connection without sending complete message body,说明从 huggingface.co 下载 model.safetensors 文件(约1.8GB)中途被断开连接。这通常是网络不稳定或镜像站限流导致,与软件本身无关。

解决办法(手动下载模型):

你使用的是 Qwen-TTS(内置) 渠道,需要下载 Qwen3-TTS 模型文件:

  1. 打开下载地址:https://huggingface.co/Qwen/Qwen3-TTS-12Hz-0.6B-Base/tree/main
    (如无法访问 huggingface.co,可改用镜像站:把域名 huggingface.co 换成 hf-mirror.com
  2. 下载该页面所有文件(包含 .safetensorsconfig.json 等),保持文件名不变(注意不要被浏览器重命名为 xxx(2).safetensors 等)。
  3. 将下载的所有文件放到此目录(不存在则新建):
    软件目录/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base

    软件目录即 sp.exe 所在的 E:/BaiduNetdiskDownload/99999
  4. 如果你在界面中选择了「自定义音色」或 clone 相关功能,可能还需下载 Qwen3-TTS-12Hz-0.6B-CustomVoice
    地址 https://huggingface.co/Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice/tree/main
    存放位置:软件目录/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-CustomVoice
  5. 放置完成后重启软件,再次试听/配音即可。
提示:从报错看仅下载了约 21MB 就断开,说明无稳定科学上网。若手动下载也频繁中断,建议使用支持断点续传的下载工具(如 IDM、aria2),并优先使用国内镜像 hf-mirror.com。下载后务必核对文件大小,不完整的模型仍会报错。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource