mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
Fix the list file directory error.修复list文件目录错误
This commit is contained in:
parent
24a4520199
commit
7b0aa5be64
2
webui.py
2
webui.py
@ -671,7 +671,7 @@ def close1abc():
|
||||
return "已终止所有一键三连进程", {"__type__": "update", "visible": True}, {"__type__": "update", "visible": False}
|
||||
|
||||
def select_list():
|
||||
list_files = [f for f in os.listdir("output/asr_opt/") if f.endswith('.list')]
|
||||
list_files = [r"output/asr_opt/" + f for f in os.listdir("output/asr_opt/") if f.endswith('.list')]
|
||||
if len(list_files) == 0:
|
||||
return ["无可用列表文件,请先生成列表文件"]
|
||||
return list_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user