mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-17 20:00:12 +08:00
Change "send to "
This commit is contained in:
parent
e8884c2b01
commit
065e310a3f
@ -722,14 +722,14 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
|||||||
|
|
||||||
send_to_img2img.click(
|
send_to_img2img.click(
|
||||||
fn=lambda x: image_from_url_text(x),
|
fn=lambda x: image_from_url_text(x),
|
||||||
_js="extract_image_from_gallery",
|
_js="extract_image_from_gallery_img2img",
|
||||||
inputs=[txt2img_gallery],
|
inputs=[txt2img_gallery],
|
||||||
outputs=[init_img],
|
outputs=[init_img],
|
||||||
)
|
)
|
||||||
|
|
||||||
send_to_inpaint.click(
|
send_to_inpaint.click(
|
||||||
fn=lambda x: image_from_url_text(x),
|
fn=lambda x: image_from_url_text(x),
|
||||||
_js="extract_image_from_gallery",
|
_js="extract_image_from_gallery_img2img",
|
||||||
inputs=[txt2img_gallery],
|
inputs=[txt2img_gallery],
|
||||||
outputs=[init_img_with_mask],
|
outputs=[init_img_with_mask],
|
||||||
)
|
)
|
||||||
@ -750,14 +750,14 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
|||||||
|
|
||||||
send_to_extras.click(
|
send_to_extras.click(
|
||||||
fn=lambda x: image_from_url_text(x),
|
fn=lambda x: image_from_url_text(x),
|
||||||
_js="extract_image_from_gallery",
|
_js="extract_image_from_gallery_extras",
|
||||||
inputs=[txt2img_gallery],
|
inputs=[txt2img_gallery],
|
||||||
outputs=[image],
|
outputs=[image],
|
||||||
)
|
)
|
||||||
|
|
||||||
img2img_send_to_extras.click(
|
img2img_send_to_extras.click(
|
||||||
fn=lambda x: image_from_url_text(x),
|
fn=lambda x: image_from_url_text(x),
|
||||||
_js="extract_image_from_gallery",
|
_js="extract_image_from_gallery_extras",
|
||||||
inputs=[img2img_gallery],
|
inputs=[img2img_gallery],
|
||||||
outputs=[image],
|
outputs=[image],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user