语音识别阶段出错 [Parakeet-tdt] 连接超时,请检查网络连接是否稳定
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\connection.py", line 101, 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 224, in _receive_event
File "httpcore\_backends\sync.py", line 124, in read
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ReadTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "openai\_base_client.py", line 982, in request
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.ReadTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 235, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_parakeet.py", line 38, in _exec
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\audio\transcriptions.py", line 406, in create
File "openai\_base_client.py", line 1259, in post
File "openai\_base_client.py", line 1000, in request
openai.APITimeoutError: Request timed out.
TaskCfg(cache_folder='D:/greenbox/win-videotrans/tmp/12808/88b2a70af3', target_dir='D:/greenbox/win-videotrans/output/recogn', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='D:/greenbox/win-videotrans/output/recogn/23 -Silver Layer Load Script 2.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='23 -Silver Layer Load Script 2', shibie_audio='D:/greenbox/win-videotrans/tmp/12808/88b2a70af3/23 -Silver Layer Load Script 2-1767402901.098613.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=11, model_name='tiny', split_type=0, voice_autorate=False, video_autorate=False, cuda=True, name='J:/Udemy.The.Complete.SQL.Bootcamp.30.Hours.Go.from.Zero.to.Hero/处理/25 - SQL Data Warehouse Project/23 -Silver Layer Load Script 2.mp4', basename='23 -Silver Layer Load Script 2.mp4', ext='mp4', dirname='J:/Udemy.The.Complete.SQL.Bootcamp.30.Hours.Go.from.Zero.to.Hero/处理/25 - SQL Data Warehouse Project', shound_del_name=None, uuid='88b2a70af3', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=1, only_out_mp4=False)
=
system:Windows-10-10.0.22621-SP0
version:v3.92
frozen:True
language:zh
root_dir:D:/greenbox/win-videotrans