hanser-Bert-VITS2 / oldVersion /V110 /text /english_bert_mock.py
Roi Feng
new 2.2
2e9bf0c
raw
history blame
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))