Skip to content

Commit

Permalink
Merge pull request #6 from kirianguiller/dev-pr3
Browse files Browse the repository at this point in the history
Dev pr3 : small changes for chinese implementation
  • Loading branch information
erogol authored Mar 2, 2021
2 parents 547bfc4 + c0ed527 commit d706d4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
],
"source": [
"! mkdir data/\n",
"! gdown --id 1RR9rZdV_FMm8yvtCHALtUbJf1nxbUiAw -O data/tts_model.pth.tar\n",
"! gdown --id 1daY1JHGXEozJ-MGYLiWEUmzEwEvM5xpz -O data/tts_config.json\n",
"! gdown --id 1vl9c-D3dW_E7pdhNpDFQLX-giJc0jOtV -O data/tts_scale_stats.npy"
"! gdown --id 1SYpv7V__QYDjKXa_vJmNXo1CSkcoZovy -O data/tts_model.pth.tar\n",
"! gdown --id 14BIvfJXnFHi3jcxYNX40__TR6RwJOZqi -O data/tts_config.json\n",
"! gdown --id 1ECRlXybT6rAWp269CkhjUPwcZ10CkcqD -O data/tts_scale_stats.npy"
]
},
{
Expand Down Expand Up @@ -526,4 +526,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit d706d4c

Please sign in to comment.