Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
XzJosh/Azusa-Bert-VITS2-2.3
xinglilu
/
atriber
like
1
Running
on
Zero
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
atriber
/
oldVersion
/
V110
/
text
/
english_bert_mock.py
XzJosh
Upload 180 files
1cf1e13
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
100 Bytes
import
torch
def
get_bert_feature
(
norm_text, word2ph
):
return
torch.zeros(
1024
,
sum
(word2ph))