From 0003fbd92e4c4f7be2e9de6c2e741d429237d0c5 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Tue, 6 Aug 2024 18:45:38 +0800 Subject: [PATCH] Update onnx_api.py --- GPT_SoVITS/text/g2pw/onnx_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPT_SoVITS/text/g2pw/onnx_api.py b/GPT_SoVITS/text/g2pw/onnx_api.py index a08304c..374c9a4 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