During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\util\help_down.py", line 34, in is_connect_hf
File "requests\api.py", line 100, in head
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 665, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=3)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "logging\__init__.py", line 1103, in emit
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
File "videotrans\task\simple_runnable_qt.py", line 14, in run
File "videotrans\util\help_down.py", line 36, in is_connect_hf
File "logging\__init__.py", line 1489, in warning
File "logging\__init__.py", line 1624, in _log
File "logging\__init__.py", line 1634, in handle
File "logging\__init__.py", line 1696, in callHandlers
File "logging\__init__.py", line 968, in handle
File "logging\__init__.py", line 1108, in emit
Message: "无法连接 huggingface.co, 使用镜像替换: hf-mirror.com\nHTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to huggingface.co timed out. (connect timeout=3)'))"
Arguments: ()
[DEBUG] 开始语音识别:渠道0
[DEBUG] [新进程任务 开始:STT use large-v3]
[DEBUG] 任务参数:kwargs={'detect_language': 'en', 'model_name': 'large-v3', 'logs_file': 'D:/pyvideotrans/tmp/1292/0d33770f88/faster-en-1787553603.013281.log', 'is_cuda': True, 'no_speech_threshold': 0.6, 'condition_on_previous_text': False, 'speech_timestamps': None, 'audio_file': 'D:/pyvideotrans/tmp/1292/0d33770f88/[8-23-26] EWC_stcArena_EN - FURIA vs Legacy | CS2 at EWC 26 - FINAL DAY - LIVE_20260824_03471667-1787553586.0306518.wav', 'local_dir': 'D:/pyvideotrans/models/models--Systran--faster-whisper-large-v3', 'compute_type': 'default', 'jianfan': False, 'audio_duration': 21341003, 'hotwords': None, 'prompt': '', 'beam_size': 5, 'best_of': 5, 'temperature': '', 'repetition_penalty': 1.0, 'compression_ratio_threshold': 2.4, 'max_speech_ms': 5000, 'device_index': 0}
[DEBUG] GPU进程池:max_workers=1
[DEBUG] [faster_whisper]加载模型:当前 is_cuda=True,_compute_type='default'
[DEBUG] faster-whisper模式下,对large-v3模型返回的断句结果重新修正
[DEBUG] 断句结果重新修正完毕
[DEBUG] 返回识别结果