diff --git a/GPT_SoVITS/module/models.py b/GPT_SoVITS/module/models.py index 3d235754..ec7407e5 100644 --- a/GPT_SoVITS/module/models.py +++ b/GPT_SoVITS/module/models.py @@ -1,3 +1,5 @@ +import warnings +warnings.filterwarnings("ignore") import copy import math import os diff --git a/GPT_SoVITS/text/g2pw/onnx_api.py b/GPT_SoVITS/text/g2pw/onnx_api.py index a08304ca..374c9a4e 100644 --- a/GPT_SoVITS/text/g2pw/onnx_api.py +++ b/GPT_SoVITS/text/g2pw/onnx_api.py @@ -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 diff --git a/webui.py b/webui.py index 28ba8525..118e642d 100644 --- a/webui.py +++ b/webui.py @@ -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, - ) \ No newline at end of file + )