Support Ukrainian VITS models from coqui-ai/TTS (#469)

This commit is contained in:
Fangjun Kuang
2023-12-06 19:37:11 +08:00
committed by GitHub
parent 23cf92daf7
commit d34161413d
9 changed files with 303 additions and 32 deletions

View File

@@ -123,7 +123,6 @@ static std::vector<int64_t> CoquiPhonemesToIds(
int32_t blank_id = meta_data.blank_id;
int32_t add_blank = meta_data.add_blank;
int32_t comma_id = token2id.at(',');
SHERPA_ONNX_LOGE("comma id: %d", comma_id);
std::vector<int64_t> ans;
if (add_blank) {