Support VITS TTS models from coqui-ai/TTS (#416)
* Support VITS TTS models from coqui-ai/TTS * release v1.8.9
This commit is contained in:
@@ -81,7 +81,8 @@ class OfflineTtsVitsModel::Impl {
|
||||
|
||||
std::string comment;
|
||||
SHERPA_ONNX_READ_META_DATA_STR(comment, "comment");
|
||||
if (comment.find("piper") != std::string::npos) {
|
||||
if (comment.find("piper") != std::string::npos ||
|
||||
comment.find("coqui") != std::string::npos) {
|
||||
is_piper_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user