Multi-Voice-Clone-Chinese-TTS / text /english_bert_mock.py
Ailyth's picture
push_231002011740
9a85c9a
raw
history blame contribute delete
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))