Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Rayzggz/hanser-Bert-VITS2
darksakura
/
l2
like
0
Paused
App
Files
Files
Community
10bb087
l2
/
text
/
english_bert_mock.py
Roi Feng
initialize hanser
e526878
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))