#752 RuntimeError: (ReadTimeoutError(

*63.72* Posted at: 2 hours ago 👁5

语音识别阶段出错:(ReadTimeoutError("HTTPSConnectionPool(host='cas-bridge.xethub.hf.co', port=443): Read timed out. (read timeout=10)"), '(Request ID: 99838a2a-73cc-4d6a-88bc-15b25e0b6a43)')[faster-whisper(本地)]:

Traceback (most recent call last):

File "videotrans\task\trans_create.py", line 375, in recogn

File "videotrans\recognition\__init__.py", line 250, in run

File "videotrans\recognition\_base.py", line 70, in run

File "videotrans\recognition\_overall.py", line 144, in _exec

RuntimeError: (ReadTimeoutError("HTTPSConnectionPool(host='cas-bridge.xethub.hf.co', port=443): Read timed out. (read timeout=10)"), '(Request ID: 99838a2a-73cc-4d6a-88bc-15b25e0b6a43)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 97, in run

File "videotrans\task\trans_create.py", line 411, in recogn

RuntimeError: (ReadTimeoutError("HTTPSConnectionPool(host='cas-bridge.xethub.hf.co', port=443): Read timed out. (read timeout=10)"), '(Request ID: 99838a2a-73cc-4d6a-88bc-15b25e0b6a43)')

=====

Windows-10-10.0.19045-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这是使用 faster-whisper 本地模式时模型下载失败的问题。错误显示连接 huggingface 镜像站超时,这是国内用户常见的问题。

解决办法:

由于国内访问 huggingface 镜像站 hf-mirror.com 经常不稳定,建议采用以下任一方法:

1. 使用科学上网并创建锁文件(推荐)

  • 确保能正常访问 https://huggingface.co
  • 在软件目录下(sp.exe 所在文件夹)新建一个空文件,命名为 huggingface.lock
  • 注意文件后缀必须是 .lock,不是 .txt

2. 使用专用下载工具

  • 访问 https://pyvideotrans.com/faster-whisper-download
  • 下载适合你网络的下载工具(一个从镜像站下载,一个从官网下载)
  • 将下载的 exe 文件放在 sp.exe 同目录下运行

3. 手动下载模型压缩包

  • 打开 https://github.com/jianchang512/stt/releases/tag/0.0
  • 下载你需要的模型文件(如 large-v3 等)
  • 解压到软件的 models 文件夹中

这些方法都能有效解决模型下载超时问题。建议优先尝试第一种方法,如果已有科学上网条件,创建 huggingface.lock 文件后重新运行软件即可。

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

Trending Questions