#7215 语音识别阶段出错[faster-whisper(内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

51.159**6 Posted at: 1 day ago

语音识别阶段出错[faster-whisper(内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

Traceback (most recent call last):

File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions

File "httpx\_transports\default.py", line 250, in handle_request

File "httpcore\_sync\connection_pool.py", line 216, in handle_request

File "httpcore\_sync\connection_pool.py", line 196, in handle_request

File "httpcore\_sync\http_proxy.py", line 344, in handle_request

File "httpcore\_sync\http11.py", line 143, in handle_request

File "httpcore\_sync\http11.py", line 113, in handle_request

File "httpcore\_sync\http11.py", line 186, in _receive_response_headers

File "httpcore\_sync\http11.py", line 238, in _receive_event

httpcore.RemoteProtocolError: Server disconnected without sending a response.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "videotrans\util\help_down.py", line 135, in check_
......
rgs)

File "huggingface_hub\file_download.py", line 371, in http_get

with http_stream_backoff(

File "contextlib.py", line 135, in enter

File "huggingface_hub\utils\_http.py", line 644, in http_stream_backoff

yield from _http_backoff_base(

File "huggingface_hub\utils\_http.py", line 462, in _http_backoff_base

with client.stream(method=method, url=url, **kwargs) as response:

File "contextlib.py", line 135, in enter

File "httpx\_client.py", line 868, in stream

File "httpx\_client.py", line 914, in send

File "httpx\_client.py", line 942, in _send_handling_auth

File "httpx\_client.py", line 979, in _send_handling_redirects

File "httpx\_client.py", line 1014, in _send_single_request

File "httpx\_transports\default.py", line 249, in handle_request

File "contextlib.py", line 153, in exit

File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions

httpx.RemoteProtocolError: Server disconnected without sending a response.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

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

File "videotrans\task\job.py", line 102, in process_task

File "videotrans\task\_stage_recogn.py", line 62, in recogn

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

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

File "videotrans\recognition\_whisper.py", line 50, in _download

File "videotrans\util\help_down.py", line 168, in check_and_down_hf

videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), small, 发音语言: 英语, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
输出字幕格式: 目标语言在下双字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:D:/software/3aisoftware/win-pyvideotrans-v4.09

1 Replies

#1 DeepSeek reply at 1 day ago

核心原因是模型自动下载失败:日志显示 httpx.RemoteProtocolError: Server disconnected without sending a response,即在通过代理 http://127.0.0.1:10808 访问 huggingface.co 下载 faster-whisper-small 模型时连接被中断。国内直接访问 huggingface.co 通常不可用,依赖代理且必须稳定。

解决方案(任选其一):

  1. 手动下载模型(推荐)

  2. 检查代理

    • 确认代理服务已正常运行且端口正确(10808)。
    • 若代理不稳定,建议更换更稳定的代理后再重试下载。
    • 如不需要代理访问国外站点,可将主界面右侧的代理文本框清空。
  3. 也可改用国内镜像下载,或在下载完成后重新执行任务(不要勾选"清理已生成")。

请查阅相关文档:

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