语音识别阶段出错[阿里FunASR(内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
Traceback (most recent call last):
File "videotrans\util\help_down.py", line 121, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn
return fn(*args, **kwargs)
File "huggingface_hub\_snapshot_download.py", line 310, in snapshot_download
raise LocalEntryNotFoundError(
huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "huggingface_hub\utils\_http.py", line 761, in hf_raise_for_status
response.raise_for_status()
File "httpx\_models.py", line 829, in raise_for_status
httpx.HTTPStatusError: Client error '404 Not Found' f
......
9-6616160463a03fd110ff3e0f;a0ad0d79-3220-45cd-96d8-8ef20fd5f884)
Repository Not Found for url: https://huggingface.co/api/models/iic/SenseVoiceSmall/revision/main.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated and your token has the required permissions.
For more details, see https://huggingface.co/docs/huggingface_hub/authentication
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 101, in process_task
File "videotrans\task\speech2text.py", line 97, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_funasr.py", line 45, in _exec
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
cfg=TaskCfgSTT(uuid='61d7b6319a', name='G:/youtube/雪野lovetactic/20230717.mp4', dirname='G:/youtube/雪野lovetactic', noextname='20230717', basename='20230717.mp4', ext='mp4', target_dir='c:/soft/pyvideotrans/output/recogn', cache_folder='C:/SOFT/pyvideotrans/tmp/39984/61d7b6319a', is_cuda=True, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='c:/soft/pyvideotrans/output/recogn/20230717.srt', target_wav=None, target_wav_output=None, detect_language='zh-cn', recogn_type=4, model_name='SenseVoiceSmall', shibie_audio='C:/SOFT/pyvideotrans/tmp/39984/61d7b6319a/20230717-1786736476.3565586.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)
=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:C:/SOFT/pyvideotrans