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 and send to img2img/inpaint support #6

Open
matrix4767 opened this issue Apr 23, 2023 · 1 comment
Open

Pnginfo and send to img2img/inpaint support #6

matrix4767 opened this issue Apr 23, 2023 · 1 comment

Comments

@matrix4767
Copy link

Could this extension make its way in the metadata and remember when it was used?

@AG-w
Copy link

AG-w commented May 10, 2023

if you don't mind do it youself, edit SAG.py:
add this in the end of function ui() (but before return[])

self.infotext_fields = []
self.paste_field_names = []
self.infotext_fields = [
    (scale, "SAG Guidance Scale"),
    (mask_threshold, "SAG Mask Threshold"),
]

for _,name in self.infotext_fields:
    self.paste_field_names.append(name)

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

No branches or pull requests

2 participants