Skip to content

Commit

Permalink
update chinese model
Browse files Browse the repository at this point in the history
  • Loading branch information
kirianguiller committed Mar 1, 2021
1 parent 547bfc4 commit 7f36d91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions TTS/.models.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
}
}
},
"zh":{
"zh-CN":{
"baker":{
"tacotron2-DDC-GST":{
"model_file": "1RR9rZdV_FMm8yvtCHALtUbJf1nxbUiAw",
"config_file": "1daY1JHGXEozJ-MGYLiWEUmzEwEvM5xpz",
"stats_file": "1vl9c-D3dW_E7pdhNpDFQLX-giJc0jOtV",
"model_file": "1SYpv7V__QYDjKXa_vJmNXo1CSkcoZovy",
"config_file": "14BIvfJXnFHi3jcxYNX40__TR6RwJOZqi",
"stats_file": "1ECRlXybT6rAWp269CkhjUPwcZ10CkcqD",
"commit": ""
}
}
Expand Down
2 changes: 1 addition & 1 deletion TTS/tts/utils/text/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def text2phone(text, language):
'''

# TO REVIEW : How to have a good implementation for this?
if language == "chinese-mandarin":
if language == "zh-CN":
ph = chinese_text_to_phonemes(text)
return ph

Expand Down

0 comments on commit 7f36d91

Please sign in to comment.