AI_TalkingFlower / oldVersion /V101 /text /english_bert_mock.py
MZhaovo's picture
Upload folder using huggingface_hub
ddb4de0
raw
history blame
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))