From c09af5ab7de2dd1d127364b44c101153a13f8fa4 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Fri, 14 Feb 2025 14:34:47 +0800 Subject: [PATCH] s2Dv3 is not needed s2Dv3 is not needed --- webui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webui.py b/webui.py index 724d084..93bda1f 100644 --- a/webui.py +++ b/webui.py @@ -140,8 +140,7 @@ pretrained_model_list = (pretrained_sovits_name[int(version[-1])-1],pretrained_s _='' for i in pretrained_model_list: - if os.path.exists(i):... - else:_+=f'\n {i}' + if "s2Dv3"not in i and os.path.exists(i)==False:_+=f'\n {i}' if _: print("warning:",i18n('以下模型不存在:')+_)