Skip to content
代码片段 群组 项目
提交 065e310a 编辑于 作者: Seki's avatar Seki 提交者: AUTOMATIC1111
浏览文件

Change "send to "

上级 e8884c2b
No related branches found
No related tags found
无相关合并请求
......@@ -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],
)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册