Update onnx_api.py

This commit is contained in:
RVC-Boss 2024-08-06 18:45:38 +08:00 committed by GitHub
parent 805dbd7ff2
commit 0003fbd92e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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