导入用于将数字转换成中文的text_to_chinese函数

This commit is contained in:
南风以南 2022-06-09 11:57:34 +08:00 committed by GitHub
parent 8f9830a124
commit e36ead2510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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