Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Rayzggz
/
hanser-Bert-VITS2
like
4
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e526878
hanser-Bert-VITS2
/
text
/
english_bert_mock.py
Roi Feng
initialize hanser
e526878
over 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))