Diana-Bert-VITS2 / text /english_bert_mock.py
XzJosh's picture
Upload 47 files
bf0a127
raw
history blame contribute delete
No virus
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))