fix output for mix language

This commit is contained in:
SapphireLab 2024-03-11 03:04:43 +08:00
parent bdd7f2438f
commit d8ee4e2911

View File

@ -152,8 +152,7 @@ class TextPreprocessor:
bert_feature = torch.cat(bert_feature_list, dim=1)
# phones = sum(phones_list, [])
norm_text = ''.join(norm_text_list)
return phones, bert_feature, norm_text
return phones_list, bert_feature, norm_text
def get_bert_feature(self, text:str, word2ph:list)->torch.Tensor: