adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
2.05k stars 263 forks source link

Separate hires prompt not being parsed #633

Open topaz-studio opened 1 year ago

topaz-studio commented 1 year ago

I found some similar issues, but they were unclear whether they were for a hi-res prompt different from the first pass, or the default hi-res prompt. This issue I'm having is specifically when I'm using a non-default hires prompt.

Any wildcard/variables put in the area for a separate hires prompt are not parsed and passed on as-is. Can be easily tested by making a variable like __red__ that actually contains another colour, and setting the denoise to a very high value to effectively ignore the initial first pass. Another way to check is to use an inexistent wildcard, and check for the error message in the console saying that no such wildcard existed.

Automatic1111 1.6.0, sd-dynamic-prompts 1.4.0 da12a952

The other plugins I have installed (and while enabled, were not being used for testing) are:

lalalabush commented 11 months ago

The same problem here. There is no dynamic prompting inside of the hires prompts for some reason. If hires prompt is not equal to the first pass prompt, hires prompt is used as it is.

Is it a bug or a feature? ADetailer works good doing basically utilising the same logic.