mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 07:14:52 +08:00
specified
This commit is contained in:
parent
dd850f357b
commit
83170ea2c5
14
webui.py
14
webui.py
@ -758,10 +758,22 @@ def check_for_exists(file_list=[],is_train=False):
|
||||
if os.path.exists(file):pass
|
||||
else:_.append(file)
|
||||
if _:
|
||||
if is_train:
|
||||
for i in _:
|
||||
if i != '':
|
||||
gr.Warning(i)
|
||||
gr.Warning(i18n('以下文件不存在:'))
|
||||
gr.Warning(i18n('以下文件或文件夹不存在:'))
|
||||
else:
|
||||
if len(_) == 1:
|
||||
if _[0]:
|
||||
gr.Warning(i)
|
||||
gr.Warning(i18n('文件或文件夹不存在:'))
|
||||
else:
|
||||
for i in _:
|
||||
if i != '':
|
||||
gr.Warning(i)
|
||||
gr.Warning(i18n('以下文件或文件夹不存在:'))
|
||||
|
||||
|
||||
|
||||
from text.g2pw import G2PWPinyin
|
||||
|
Loading…
x
Reference in New Issue
Block a user