Coqui TTS UI, corrected hiding model div when origin select is none
This commit is contained in:
parent
3ab9b44700
commit
6dce566cb9
|
@ -327,6 +327,11 @@ class CoquiTtsProvider {
|
|||
const model_origin = $('#coqui_model_origin').val();
|
||||
console.debug(model_origin);
|
||||
|
||||
if (model_origin == "none") {
|
||||
$("#coqui_local_model_div").hide();
|
||||
$("#coqui_api_model_div").hide();
|
||||
}
|
||||
|
||||
// show coqui model list
|
||||
if (model_origin == "coqui-api") {
|
||||
$("#coqui_local_model_div").hide();
|
||||
|
|
Loading…
Reference in New Issue