fix send to inpaint sending you to wrong place
This commit is contained in:
parent
0b8911d883
commit
5623a3e7b1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue