aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py8
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],
)