update chinese model

This commit is contained in:
kirianguiller 2021-03-01 14:55:05 +01:00
parent 547bfc4ce9
commit 7f36d91131
2 changed files with 5 additions and 5 deletions

View File

@ -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": ""
}
}

View File

@ -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