fix: Only apply the index to the specified field#16107
Closed
bluelovers wants to merge 1 commit intoAUTOMATIC1111:devfrom
Closed
fix: Only apply the index to the specified field#16107bluelovers wants to merge 1 commit intoAUTOMATIC1111:devfrom
bluelovers wants to merge 1 commit intoAUTOMATIC1111:devfrom
Conversation
fix for this pr AUTOMATIC1111#15460 Only apply the index to the specified field to avoid causing other plugins to fail to save list values.
w-e-w
requested changes
Jun 28, 2024
Contributor
Author
|
Contributor
Author
Collaborator
|
GitHub連結前面加個 - #15460
* https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15460
1. https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15460#issuecomment-2195877959挺方便的小技巧 |
Owner
|
As wew says, the intention of lists in those parameters is to provide a single value depending on index of iteration/batch. If an extension wants to just list stuff in infotext, it needs to convert that stuff to string. I'll close this PR, and if you want to talk more, you can reopen it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

fix for this pr #15460
Only apply the index to the specified field to avoid causing other plugins to fail to save list values.
Description
Screenshots/videos:
Checklist: