Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
XzJosh/otto-Bert-VITS2
songdaooi
/
otto_daoli
like
1
Running
App
Files
Files
Community
9706d46
otto_daoli
/
text
/
english_bert_mock.py
XzJosh
Upload 47 files
bf0a127
over 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))