Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ElesisSiegherts
/
Keio_Auto_Announce_bert_vits2
like
0
Sleeping
App
Files
Files
Community
164dba8
Keio_Auto_Announce_bert_vits2
/
oldVersion
/
V110
/
text
/
english_bert_mock.py
ElesisSiegherts
Upload 128 files
164dba8
6 months ago
raw
history
blame
No virus
100 Bytes
import
torch
def
get_bert_feature
(
norm_text, word2ph
):
return
torch.zeros(
1024
,
sum
(word2ph))