From e36ead2510d7b50d2b746b09e9e34214d16e4f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E9=A3=8E=E4=BB=A5=E5=8D=97?= <25891297+nfyn@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E7=94=A8=E4=BA=8E=E5=B0=86?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E8=BD=AC=E6=8D=A2=E6=88=90=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E7=9A=84text=5Fto=5Fchinese=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synthesizer/inference.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synthesizer/inference.py b/synthesizer/inference.py index 3ff856b..cb21739 100644 --- a/synthesizer/inference.py +++ b/synthesizer/inference.py @@ -12,6 +12,7 @@ import librosa from utils import logmmse import json from pypinyin import lazy_pinyin, Style +from utils.digit_2_chinese import text_to_chinese class Synthesizer: sample_rate = hparams.sample_rate