mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
bug修复
This commit is contained in:
parent
3ac7aad4d0
commit
48cc70a7de
@ -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}"'
|
||||
|
Loading…
x
Reference in New Issue
Block a user