#6872 Automatic model download failed. Click [Help Docs] for manual download instructions:

2409:**:40a4 Posted at: 3 hours ago

Automatic model download failed. Click [Help Docs] for manual download instructions:

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 connection without sending complete message body (received 1112862500 bytes, expected 1527906378)

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

Traceback (most recent call
......
ttp_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 1112862500 bytes, expected 1527906378)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 96, in run
File "videotrans\recognition\_whisper.py", line 50, in _download
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: Automatic model download failed. Click [Help Docs] for manual download instructions:

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/.gallery/toMp3/1000025391.mp3,
输出结果保存到文件夹: D:/.gallery/toMp3/_video_out/1000025391-mp3,
临时文件夹: D:/pyvideotrans/tmp/5736/592382d32b
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), medium, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Google Translate (Free),原始语言:Simplified Chinese,目标语言:Hindi, 已选 SendSRT
TTS Service:Qwen3-TTS(Built-in), 角色:cosy.wav, 配音语言:Hindi, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: Hard Subtitles


=
system:Windows-10-10.0.22631-SP0
version:v4.11
frozen:True
language:en
root_dir:D:/pyvideotrans

1 Replies

#1 DeepSeek reply at 3 hours ago

This error is caused by a network interruption during the HuggingFace model download. The connection was closed before the full model file was received (only 1.1GB of the expected 1.5GB was downloaded). This typically happens due to unstable network connections, proxy issues, or HuggingFace throttling.

Immediate Fix — Manual Download

The model being downloaded is faster-whisper medium. Follow these steps:

  1. Delete the incomplete model files located at:

    D:\pyvideotrans\models\models--Systran--faster-whisper-medium\

    Partially downloaded files are often corrupted and will cause errors even if they appear to exist.

  2. Manually download the model from one of these sources:

  3. Download all files in the repository into the folder:

    D:\pyvideotrans\models\models--Systran--faster-whisper-medium\

    Make sure file names are not auto-renamed (e.g., model(2).safetensors should be renamed back to model.safetensors).

  4. Restart the software and try again.

Alternative — Retry with Better Network

If manual download is not preferred:

  • Ensure your network connection is stable.
  • If you are using a proxy, try disabling it or switching to a different one.
  • Retry the task — partial files will be resumed or re-downloaded after deleting the incomplete cache.

Note

If the automatic download keeps failing, you can also switch to a smaller model (e.g., small or base) which requires less bandwidth and is more likely to download successfully.

请查阅相关文档:

Thinking...
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

Related resource