Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
zomehwh/bert_vits2
firzaelbuho
/
bert_vits2
like
0
Sleeping
App
Files
Files
Community
cefd4f0
bert_vits2
/
text
/
english_bert_mock.py
Akito-UzukiP
first commit
9429d2d
about 1 year ago
raw
Copy download link
history
blame
Safe
100 Bytes
import
torch
def
get_bert_feature
(
norm_text, word2ph
):
return
torch.zeros(
1024
,
sum
(word2ph))