From 48cc70a7de72ae5002c637def2e0dc0267eeceb6 Mon Sep 17 00:00:00 2001 From: Downupanddownup Date: Thu, 2 May 2024 08:02:56 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ref_Audio_Selector/ref_audio_selector_webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ref_Audio_Selector/ref_audio_selector_webui.py b/Ref_Audio_Selector/ref_audio_selector_webui.py index 7ef824f..d9c8a29 100644 --- a/Ref_Audio_Selector/ref_audio_selector_webui.py +++ b/Ref_Audio_Selector/ref_audio_selector_webui.py @@ -243,7 +243,7 @@ def open_asr(asr_inp_dir, asr_opt_dir, asr_model, asr_model_size, asr_lang): asr_py_path = asr_dict[asr_model]["path"] if asr_py_path == 'funasr_asr.py': asr_py_path = 'funasr_asr_multi_level_dir.py' - if asr_py_path == 'fasterwhisper.py': + if asr_py_path == 'fasterwhisper_asr.py': asr_py_path = 'fasterwhisper_asr_multi_level_dir.py' cmd = f'"{python_exec}" Ref_Audio_Selector/tool/asr/{asr_py_path} ' cmd += f' -i "{asr_inp_dir}"'