Skip to content

[UX] Add extrastab send to img2img#899

Merged
AUTOMATIC1111 merged 2 commits into
masterfrom
unknown repository
Sep 23, 2022
Merged

[UX] Add extrastab send to img2img#899
AUTOMATIC1111 merged 2 commits into
masterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 23, 2022

Refs #849
Added send to img2img for extrastab

@AUTOMATIC1111
Copy link
Copy Markdown
Owner

why not also send to inpaint then

@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 23, 2022

Try is #859
Should we delete here

tabs.change(
fn=lambda x: x,
inputs=[init_img_with_mask],
outputs=[init_img_with_mask],
)
tabs_img2img_mode.change(
fn=lambda x: x,
inputs=[init_img_with_mask],
outputs=[init_img_with_mask],
)

Why is this code necessary?

@AUTOMATIC1111
Copy link
Copy Markdown
Owner

oh no, that stays, this is what makes it possible to recover from the gradio bug with inpainting where it just stops working when you switch tabs with an image loaded.

gradio-app/gradio#2224

@AUTOMATIC1111 AUTOMATIC1111 merged commit 03faf20 into AUTOMATIC1111:master Sep 23, 2022
@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 23, 2022

P.S.
tabs_img2img_mode.change and tabs.change triggered this errors(#859)
image

gradio-app/gradio#2224 is solve for gradio-app/gradio#2144

This need to delete here.

tabs.change(
fn=lambda x: x,
inputs=[init_img_with_mask],
outputs=[init_img_with_mask],
)
tabs_img2img_mode.change(
fn=lambda x: x,
inputs=[init_img_with_mask],
outputs=[init_img_with_mask],
)

nne998 pushed a commit to fjteam/stable-diffusion-webui that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant