Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
XzJosh/Lumi-Bert-VITS2
zhuowen999
/
Lumi-Bert-VITS2
like
0
Sleeping
App
Files
Files
Community
c65ba09
Lumi-Bert-VITS2
/
text
/
english_bert_mock.py
XzJosh
Upload 47 files
bf0a127
11 months ago
raw
Copy download link
history
blame
No virus
100 Bytes
import
torch
def
get_bert_feature
(
norm_text, word2ph
):
return
torch.zeros(
1024
,
sum
(word2ph))