#5467 err[msg]=Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing tra

91.199* Posted at: 1 hour ago

err[msg]=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.("err[msg]=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.") 这是什么问题

2 Replies

这是软件无法从 HuggingFace 在线下载模型导致的错误。第一次使用本地语音识别模型(如 faster-whisper)时,软件需要从 huggingface.co 下载模型文件到 models/ 目录。如果网络不通或出站流量被限制,软件会自动启用 local_files_only=true,导致上述报错。

解决方法:

  1. 配置网络代理:如果你需要科学上网才能访问 HuggingFace,请回到主界面,在顶部的“网络代理”文本框内填写代理地址,格式类似 http://127.0.0.1:7890(请根据你的代理软件实际端口填写),然后重新执行任务。
  2. 手动下载模型:如果无法使用代理,可以手动下载模型文件。根据错误中提到的模型名称(例如 large-v3tiny 等),参照以下步骤操作:

  3. 检查系统防火墙/安全软件:确保防火墙或杀毒软件没有阻止软件的网络连接,必要时将软件目录加入白名单。

完成上述操作后重启软件再试。如果仍然报错,请提供软件安装目录下 logs/ 文件夹中最新日志文件的尾部内容(约30行),以便进一步分析。

模型下载失败,而且版本似乎太旧了,请下载 4.03 完整版本

Post Your Reply