support gpt sovits v2

ASR languages
git ignore
requirement.txt
more autofill
This commit is contained in:
XXXXRT666
2024-08-02 21:39:38 +08:00
committed by GitHub
parent de7ee7c7c1
commit 73c6244bb6
5 changed files with 28 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ asr_dict = {
'precision': ['float32']
},
"Faster Whisper (多语种)": {
'lang': ['auto', 'zh', 'en', 'ja'],
'lang': ['auto', 'zh', 'en', 'ja', 'ko', 'yue'],
'size': check_fw_local_models(),
'path': 'fasterwhisper_asr.py',
'precision': ['float32', 'float16', 'int8']

View File

@@ -30,4 +30,4 @@ def clean_path(path_str:str):
return clean_path(path_str[0:-1])
if platform.system() == 'Windows':
path_str = path_str.replace('/', '\\')
return path_str.strip(" ").strip('"').strip("\n").strip('"').strip(" ").strip("\u202a")
return path_str.strip(" ").strip('\'').strip("\n").strip('"').strip(" ").strip("\u202a")