fix more issues with gradio 3.28.1

This commit is contained in:
anapnoe
2023-05-02 04:44:50 +03:00
parent 513a032492
commit cdb7df383e
4 changed files with 167 additions and 174 deletions
+2 -1
View File
@@ -296,7 +296,7 @@ function recalculate_prompts_inpaint(){
let selectedTabItemId = "tab_txt2img";
var opts = {}
let opts = {}
onUiUpdate(function(){
if(Object.keys(opts).length != 0) return;
@@ -1082,6 +1082,7 @@ onUiUpdate(function(){
let comp_parent = parent.parentElement.parentElement;
if( comp_parent.id == "img2img_width" ||
comp_parent.id == "img2img_height" ||
comp_parent.id == "img2img_scale" ||
comp_parent.id.indexOf("--ae-") != -1 ||
comp_parent.id.indexOf("theme") != -1 ||
comp_parent.className.indexOf("posex") != -1) return;