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

186.2.**3 Posted at: 1 hour ago

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

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 121, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\_snapshot_download.py", line 310, in snapshot_download

raise LocalEntryNotFoundError(

huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "huggingface_hub\_snapshot_download.py", line 244, in snapshot_download

repo_info = api.repo_info(repo_id=repo_id, repo_type=repo_type, revision=revision)

File "huggingface_hub\utils\_validator
......
ast):
File "videotrans\util\help_down.py", line 135, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\_snapshot_download.py", line 316, in snapshot_download

raise LocalEntryNotFoundError(

huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, set 'HF_HUB_OFFLINE=0' as environment variable.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 83, in run
File "videotrans\tts\_f5tts.py", line 33, 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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/rivas/Desktop/American English Shadowing_ Listening_ _ Speaking(MP3_320K).mp3,
输出结果保存到文件夹: C:/Users/rivas/Desktop/_video_out/American English Shadowing_ Listening_ _ Speaking(MP3_320K)-mp3,
临时文件夹: C:/pyvideotrans/tmp/10592/22da5de4bc
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), medium, 发音语言: English, 断句方式:默认断句
TranslateSrt:M2M100(Built-in),原始语言:English,目标语言:Spanish (Latin America), 已选 SendSRT
TTS Service:F5-TTS(Built-in), 角色:clone, 配音语言:Spanish (Latin America), 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: No Subtitles
已选 仅输出mp4


=
system:Windows-10-10.0.26200-SP0
version:v4.10
frozen:True
language:en
root_dir:C:/pyvideotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

The error is caused by the HuggingFace library being forced into offline mode via the HF_HUB_OFFLINE environment variable. This blocks all model downloads, including the required F5-TTS vocoder charactr/vocos-mel-24khz.

Fix 1: Unset the HF_HUB_OFFLINE variable (primary)

  1. Press Win + R, type sysdm.cpl, press Enter.
  2. Go to Advanced tab → Environment Variables.
  3. Under User variables or System variables, find HF_HUB_OFFLINE.
  4. Delete it (or set its value to 0).
  5. Restart pyVideoTrans.

Alternatively, run this in Command Prompt:

setx HF_HUB_OFFLINE 0

Then restart the software.

Fix 2: Manually download the model (if network access to huggingface.co / hf-mirror.com is blocked)

  1. Open: https://huggingface.co/charactr/vocos-mel-24khz/tree/main
  2. Download all files in that repository.
  3. Place them into:

    C:/pyvideotrans/models/models--charactr--vocos-mel-24khz/
  4. Restart pyVideoTrans.

Fix 3: Check proxy settings

If you have a proxy configured in pyVideoTrans (菜单 -> 设置 -> 代理), verify it is correct. An invalid or dead proxy can also trigger the offline-mode fallback. If you are not using a proxy, clear the proxy field and save.

请查阅相关文档:

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