Merge remote-tracking branch 'upstream/main' into chores

This commit is contained in:
XXXXRT666 2024-08-06 20:08:00 +08:00
commit de4af0f429
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import warnings
warnings.filterwarnings("ignore")
import copy
import math
import os

View File

@ -13,6 +13,7 @@ from typing import Tuple
import numpy as np
import onnxruntime
onnxruntime.set_default_logger_severity(3)
from opencc import OpenCC
from transformers import AutoTokenizer
from pypinyin import pinyin

View File

@ -772,11 +772,14 @@ def check_for_exists(file_list=None,is_train=False,is_dataset_processing=False):
else:
gr.Warning(i18n('以下文件或文件夹不存在:'))
<<<<<<< HEAD
cmd = '"%s" GPT_SoVITS/g2pw_download'%python_exec
print(cmd)
p = Popen(cmd, shell=True)
p.wait()
=======
>>>>>>> upstream/main
with gr.Blocks(title="GPT-SoVITS WebUI") as app:
gr.Markdown(
value=
@ -1012,4 +1015,4 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app:
share=is_share,
server_port=webui_port_main,
quiet=True,
)
)