Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNGInfo wrong #243

Open
3 tasks done
CaptainVarghoss opened this issue Apr 10, 2024 · 1 comment
Open
3 tasks done

PNGInfo wrong #243

CaptainVarghoss opened this issue Apr 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CaptainVarghoss
Copy link

Due diligence

  • I checked for similar issues and couldn't find any.
  • My WebUI and Unprompted are both up-to-date.
  • I disabled my other extensions but the problem persists.

Describe the bug

Couldn't find this reported anywhere so apologies if it's already been reported/answered.

When sending an image to img2img/inpaint/etc with the buttons under a generated image it sends the Unprompted prompt, not the resolved prompt the image was generated with. Similarly if you click on the new (as of version 1.8.0) 'hires fix' button it generates a new prompt from the shortcodes and puts it in the pnginfo instead of the one that already existed.

Prompt

No response

Log output

No response

Unprompted version

10.8.0

WebUI version

1.8.0

Other comments

No response

@CaptainVarghoss CaptainVarghoss added the bug Something isn't working label Apr 10, 2024
@ThereforeGames
Copy link
Owner

ThereforeGames commented Jun 2, 2024

Hi @CaptainVarghoss,

I have tested this and can confirm that the Send image to ... buttons pass the prompt field verbatim, not the resolved string.

To my knowledge, the WebUI does not give extension developers a simple way of overriding the behavior of these buttons. I would have to somehow patch the WebUI itself or manage the prompt box with JavaScript, neither of which seem like great solutions.

I'll leave this issue open in case I think of any better ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants