Commit 5623a3e7 authored by AUTOMATIC's avatar AUTOMATIC

fix send to inpaint sending you to wrong place

parent 0b8911d8
......@@ -54,7 +54,7 @@ function switch_to_img2img(){
function switch_to_inpaint(){
gradioApp().querySelector('#tabs').querySelectorAll('button')[1].click();
gradioApp().getElementById('mode_img2img').querySelectorAll('button')[1].click();
gradioApp().getElementById('mode_img2img').querySelectorAll('button')[2].click();
return args_to_array(arguments);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment