Bert-VITS2 / text /english_bert_mock.py
kevinwang676's picture
Upload folder using huggingface_hub
8a1292d
raw
history blame
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))