Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
AAOBA
/
Umamusume-DeBERTa-VITS2-TTS-JP
like
12
Runtime error
App
Files
Files
Community
49997c2
Umamusume-DeBERTa-VITS2-TTS-JP
/
text
/
english_bert_mock.py
AAOBA
first commit
9bd9742
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))