Update webui.py

This commit is contained in:
RVC-Boss 2024-08-06 19:43:34 +08:00 committed by GitHub
parent 34163367c1
commit f337845672
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -774,11 +774,6 @@ def check_for_exists(file_list=[],is_train=False):
gr.Warning(i)
gr.Warning(i18n('以下文件或文件夹不存在:'))
from GPT_SoVITS.text.g2pw import G2PWPinyin
g2pw = G2PWPinyin(model_dir="GPT_SoVITS/text/G2PWModel",model_source="GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large",v_to_u=False, neutral_tone_with_five=True)
with gr.Blocks(title="GPT-SoVITS WebUI") as app:
gr.Markdown(
value=