Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
TangRain
/
muskits-espnet-svs-demo
like
4
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9df835b
muskits-espnet-svs-demo
/
util.py
TangRain
feat(demo-v1): support Chinese song with pretrained VISinger2
9df835b
5 months ago
raw
Copy download link
history
blame
Safe
170 Bytes
def
split_pinyin
(
pinyin:
str
, pinyin_dict:
dict
) ->
tuple
[
str
]:
# load pinyin dict from local/pinyin.dict
pinyin = pinyin.lower()
return
pinyin_dict[pinyin]