Update webui.py

This commit is contained in:
RVC-Boss 2024-08-06 19:03:33 +08:00 committed by GitHub
parent 69cc3c0e77
commit 61d5d92a61

View File

@ -776,7 +776,7 @@ def check_for_exists(file_list=[],is_train=False):
from text.g2pw import G2PWPinyin
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:
@ -1014,4 +1014,4 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
share=is_share,
server_port=webui_port_main,
quiet=True,
)
)