Coqui TTS UI, corrected hiding model div when origin select is none
This commit is contained in:
parent
3ab9b44700
commit
6dce566cb9
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue