ing0 commited on
Commit
566e204
·
1 Parent(s): da1ff69

chinese_lexicon

Browse files
Files changed (1) hide show
  1. diffrhythm/g2p/g2p/mandarin.py +2 -1
diffrhythm/g2p/g2p/mandarin.py CHANGED
@@ -185,7 +185,8 @@ must_not_er_words = {"女儿", "老儿", "男儿", "少儿", "小儿"}
185
 
186
  chinese_lexicon_path = hf_hub_download(
187
  repo_id="ASLP-lab/DiffRhythm",
188
- filename="chinese_lexicon.txt"
 
189
  )
190
  word_pinyin_dict = {}
191
  with open(chinese_lexicon_path, "r", encoding="utf-8") as fread:
 
185
 
186
  chinese_lexicon_path = hf_hub_download(
187
  repo_id="ASLP-lab/DiffRhythm",
188
+ filename="diffrhythm/g2p/sources/chinese_lexicon.txt",
189
+ repo_type="space"
190
  )
191
  word_pinyin_dict = {}
192
  with open(chinese_lexicon_path, "r", encoding="utf-8") as fread: