mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-21 03:11:40 +08:00
Change "send to "
This commit is contained in:
parent
06fadd2dc5
commit
e8884c2b01
10
script.js
10
script.js
@ -141,6 +141,16 @@ function extract_image_from_gallery(gallery){
|
|||||||
return gallery[index];
|
return gallery[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function extract_image_from_gallery_img2img(gallery){
|
||||||
|
gradioApp().querySelectorAll('button')[1].click();
|
||||||
|
return extract_image_from_gallery(gallery);
|
||||||
|
}
|
||||||
|
|
||||||
|
function extract_image_from_gallery_extras(gallery){
|
||||||
|
gradioApp().querySelectorAll('button')[2].click();
|
||||||
|
return extract_image_from_gallery(gallery);
|
||||||
|
}
|
||||||
|
|
||||||
function requestProgress(){
|
function requestProgress(){
|
||||||
btn = gradioApp().getElementById("check_progress");
|
btn = gradioApp().getElementById("check_progress");
|
||||||
if(btn==null) return;
|
if(btn==null) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user