mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Update webui.py
This commit is contained in:
parent
0003fbd92e
commit
34163367c1
4
webui.py
4
webui.py
@ -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)
|
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:
|
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,
|
share=is_share,
|
||||||
server_port=webui_port_main,
|
server_port=webui_port_main,
|
||||||
quiet=True,
|
quiet=True,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user