Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
kevinwang676/Bert-VITS2
kevinwang676
/
ChatGLM-Bert-VITS2
like
1
Paused
App
Files
Files
Community
main
ChatGLM-Bert-VITS2
/
text
/
english_bert_mock.py
kevinwang676
Upload folder using huggingface_hub
8a1292d
about 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))