diff options
author | Seki <73173305+S-Tubasa@users.noreply.github.com> | 2022-09-10 21:21:47 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-11 06:27:58 +0000 |
commit | 065e310a3f4efdcdc206cfb70656108c70bc1c6d (patch) | |
tree | e72f28fed92f03d627f7e48a32653208d7df639a | |
parent | e8884c2b017b0926d4781b0e251250b5fb0fb74e (diff) | |
download | stable-diffusion-webui-gfx803-065e310a3f4efdcdc206cfb70656108c70bc1c6d.tar.gz stable-diffusion-webui-gfx803-065e310a3f4efdcdc206cfb70656108c70bc1c6d.tar.bz2 stable-diffusion-webui-gfx803-065e310a3f4efdcdc206cfb70656108c70bc1c6d.zip |
Change "send to "
-rw-r--r-- | modules/ui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ui.py b/modules/ui.py index d16231f1..c4f13a86 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -722,14 +722,14 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): send_to_img2img.click(
fn=lambda x: image_from_url_text(x),
- _js="extract_image_from_gallery",
+ _js="extract_image_from_gallery_img2img",
inputs=[txt2img_gallery],
outputs=[init_img],
)
send_to_inpaint.click(
fn=lambda x: image_from_url_text(x),
- _js="extract_image_from_gallery",
+ _js="extract_image_from_gallery_img2img",
inputs=[txt2img_gallery],
outputs=[init_img_with_mask],
)
@@ -750,14 +750,14 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): send_to_extras.click(
fn=lambda x: image_from_url_text(x),
- _js="extract_image_from_gallery",
+ _js="extract_image_from_gallery_extras",
inputs=[txt2img_gallery],
outputs=[image],
)
img2img_send_to_extras.click(
fn=lambda x: image_from_url_text(x),
- _js="extract_image_from_gallery",
+ _js="extract_image_from_gallery_extras",
inputs=[img2img_gallery],
outputs=[image],
)
|