Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
TLME
/
Bert-VITS-Umamusume-Genshin-HonkaiSR
like
11
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Bert-VITS-Umamusume-Genshin-HonkaiSR
/
text
/
english_bert_mock.py
TLME
init
8c110e0
over 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))