Merge pull request #953 from Tony-sama/staging

This commit is contained in:
Cohee 2023-08-16 23:34:02 +03:00 committed by GitHub
commit 80c1f527dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -326,6 +326,11 @@ class CoquiTtsProvider {
resetModelSettings(); resetModelSettings();
const model_origin = $('#coqui_model_origin').val(); const model_origin = $('#coqui_model_origin').val();
console.debug(model_origin); console.debug(model_origin);
if (model_origin == "none") {
$("#coqui_local_model_div").hide();
$("#coqui_api_model_div").hide();
}
// show coqui model list // show coqui model list
if (model_origin == "coqui-api") { if (model_origin == "coqui-api") {