From c87eebbed4c74b523241f4eb28dbf184922a2713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stardust=C2=B7=E5=87=8F?= Date: Sat, 30 Sep 2023 10:11:44 +0800 Subject: [PATCH] Update __init__.py --- text/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/__init__.py b/text/__init__.py index 35b8e2105..b716ec6ef 100644 --- a/text/__init__.py +++ b/text/__init__.py @@ -24,7 +24,7 @@ def cleaned_text_to_sequence(cleaned_text, tones, language): return phones, tones, lang_ids -def get_bert(norm_text, word2ph, language, device): +def get_bert(norm_text, word2ph, language, device, tokenizer): from .chinese_bert import get_bert_feature as zh_bert from .english_bert_mock import get_bert_feature as en_bert from .japanese_bert import get_bert_feature as jp_bert