diff options
author | Seki <73173305+S-Tubasa@users.noreply.github.com> | 2022-09-10 21:17:34 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-11 06:27:58 +0000 |
commit | e8884c2b017b0926d4781b0e251250b5fb0fb74e (patch) | |
tree | 69c691ada7ad7d61c499198169bf2efefc2f2cba | |
parent | 06fadd2dc5c2753558a9f3971568c2673819f48c (diff) | |
download | stable-diffusion-webui-gfx803-e8884c2b017b0926d4781b0e251250b5fb0fb74e.tar.gz stable-diffusion-webui-gfx803-e8884c2b017b0926d4781b0e251250b5fb0fb74e.tar.bz2 stable-diffusion-webui-gfx803-e8884c2b017b0926d4781b0e251250b5fb0fb74e.zip |
Change "send to "
-rw-r--r-- | script.js | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -141,6 +141,16 @@ function extract_image_from_gallery(gallery){ 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(){ btn = gradioApp().getElementById("check_progress"); if(btn==null) return; |