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