#7026 Model download failed.You can open the URL and download all files manually to folder:

169.155**0 Posted at: 1 hour ago

Model download failed.
You can open the URL and download all files manually to folder:
C:/Users/xxx/Downloads/win-pyvideotrans-v4.11/models

多次重试后仍然失败: 404 Client Error: Not Found for url: https://huggingface.co/ggerganov/whisper.cpp/resolve/main?download=true
Traceback (most recent call last):
File "videotrans\util\help_down.py", line 230, in down_file_from_hf
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/ggerganov/whisper.cpp/resolve/main?download=true

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 98, in run
File "videotrans\recognition\_cpp.py", line 49, in _exec
File "videotrans\util\help_down.py", line 269, in down_file_from_hf
videotrans.configure.excepts.DownloadModelsError: Model download failed.
You can open the URL and download all files manually to folder:
C:/Users/xxx/Downloads/win-pyvideotrans-v4.11/models

多次重试后仍然失败: 404 Client Error: Not Found for url: https://huggingface.co/ggerganov/whisper.cpp/resolve/main?download=true

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/Downloads/xxx.mp4,
输出结果保存到文件夹: D:/Downloads/xxx-mp4,
临时文件夹: C:/Users/xxx/Downloads/win-pyvideotrans-v4.11/tmp/3052/b9d067bf5e
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:Whisper.cpp(WinBuilt-in), , 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Hy-MT2-1.8B(Built-in),原始语言:Simplified Chinese,目标语言:French, 已选 SendSRT
TTS Service:F5-TTS(Built-in), 角色:clone, 配音语言:French, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Hard Subtitles


=
system:Windows-10-10.0.26200-SP0
version:v4.11
frozen:True
language:en
root_dir:C:/Users/xxx/Downloads/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

这个错误是因为软件尝试从 Hugging Face 下载 whisper.cpp 模型时,URL 缺少具体的模型文件名,导致 Hugging Face 返回 404(无法下载整个仓库根目录)。

解决方法:手动下载模型文件

  1. 打开模型仓库地址,选择你需要的模型文件(.bin 结尾):

  2. 下载对应的 .bin 模型文件(例如 ggml-base.binggml-small.bin 等,取决于你在软件中选的模型),放到:

    C:/Users/xxx/Downloads/win-pyvideotrans-v4.11/models
  3. 如果 whisper-cli 文件夹还不存在,请下载 Windows 预编译包并解压到软件根目录:

  4. 重启软件,重新执行任务。

注意:如果手动下载后仍然报错,请确认 .bin 文件完整且文件名正确(不要有多余的 (2) 等重命名后缀)。

请查阅相关文档:

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