Skip to content

Fix for grids without comprehensive infotexts#15958

Merged
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
NouberNou:Fix-Grids-Without-Infotexts
Jun 8, 2024
Merged

Fix for grids without comprehensive infotexts#15958
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
NouberNou:Fix-Grids-Without-Infotexts

Conversation

@NouberNou
Copy link
Copy Markdown
Contributor

Description

When generating grids, some scripts such as img2img loopback and ultimate SD upscale do not pass infotexts for each image since they are the same prompt.

If you attempt to save those images using the saved button in the UI it will fail because it will look for the selected image info text. This fixes those errors by replicating the infotext for as many images are passed into the image list if the infotext parameter is none.

Checklist:

When generating grids, some scripts such as img2img loopback and ultimate SD upscale do not pass infotexts for each image since they are the same prompt.

If you attempt to save those images using the saved button in the UI it will fail because it will look for the selected image info text. This fixes those errors by replicating the infotext for as many images are passed into the image list if the infotext parameter is none.
@NouberNou NouberNou requested a review from AUTOMATIC1111 as a code owner June 6, 2024 23:26
Edited in fix in Github editor and mistyped from local copy
@AUTOMATIC1111 AUTOMATIC1111 merged commit 3c7384a into AUTOMATIC1111:dev Jun 8, 2024
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.

2 participants