#810 err[msg]=Cannot find an appropriate cached snapshot folder for thespecified revision on the local disk and outgoing traf

*64.253* Posted at: 20 hours ago 👁16

err[msg]=Cannot find an appropriate cached snapshot folder for thespecified revision on the local disk and outgoing traffic has beendisabled, To enable repo look-ups and downloads online, pass'local fles only=False' as input,("err[msg]=Cannot find an appropriatecached snapshot folder for the specified revision on the local disk andoutgoing traffic has been disabled, To enable repo look-ups anddownloads online, pass 'local files only=False' as input.",)

1 Replies

本条内容由 DeepSeek 回复
这个问题是由于 pyVideoTrans 在尝试下载语音识别模型时,被配置为仅使用本地文件(local_files_only=True),但所需的模型文件在本地缓存中不存在,且网络访问被禁用导致的。

解决方法:

1. 启用在线下载(推荐)

  • 在软件目录下找到并删除 huggingface.lock 文件(如果存在)。
  • 确保你的网络连接正常,特别是如果使用代理,请在软件的“网络代理”设置中正确配置。
  • 重新运行软件,它会自动从 Hugging Face 镜像站或官网下载所需模型。

2. 使用专用下载工具

3. 手动下载(备用)

  • 从 GitHub 发布页面手动下载模型:https://github.com/jianchang512/stt/releases/tag/0.0
  • 解压并确保文件正确放置在 models 目录下。

这个问题通常发生在首次使用或模型文件被意外删除时,通过上述任一方法即可解决。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions