Commit
…rent extra networks in first/second pass rework quoting for infotext items that have commas in them to use json (should be backwards compatible except for cases where it didn't work previously) add some locals from processing function into the Processing class as fields
- Loading branch information
There are no files selected for viewing
2 comments
on commit ff0e171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this commit, for some reason, when using wildcards/dynamic prompts extension (https://github.com/adieyal/sd-dynamic-prompts), it can use info of the prompt itself of other value inside the {} brackets on hi-res pass, and then, the final result can contain characteristics of another token. For example, you can use "{green|blue} eyes" and it can generate a mix of those 2 eye colours or blue, even if the eye colour choosen randomly was green. The issue is more pronounced when using dynamic prompts/wildcards with LoRAs/TIs (for example, {lora:a1:1|lora:a2:1|...}, {ti1|ti2|...})
This does not happen with https://github.com/AUTOMATIC1111/stable-diffusion-webui/tree/3885f8a63e0954ac96e6681aa8b33281f10337a2 commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Panchvzluck That might be fixed with adieyal/sd-dynamic-prompts#483 ...
@AUTOMATIC1111
I'm definitely not an expert on the best practices and the pros and cons of using json, but is there any way to avoid "\n" strings in the hires prompts, and keep them encoded as 0x0A?
I'll use tools like Exiftool.exe and text editors (w/ custom syntax highlighting) to work with gen params, but the "\n" string values get in the way with some workflows and with manual copy/paste.
I suspect it's a tradeoff I'll have to live with (but I can hope!)
Example:
Showing \n strings in the Hires prompts -- harder to visually process and manually copy out the text.
I'm super happy you've added the HR prompting/sampler functionality, btw!
Edit: Screenshot of Exiftool output for reference