DEV Community

ragnaDolphin
ragnaDolphin

Posted on

Met and fixed(not sure) a issue where hires_fix paramaters saved wrongly when using dynamic prompts

Platform: Stable diffusion webui forge
The issue occurs when hires fix and dynamic prompts are both enabled, and more than 1 batches are generated. Webui will apply the first generated prompt as hires fix prompts in all of the images. Luckily, each conditionings are still correctly generated via dynamic prompts, so it's not a big problem.
Turns out the program didn't pass correct index and prompts to function "create_infotext" in procesing.py. Fixed it by passing "all_prompts" as and "iteration" as index to the function. It looks fine for me though I don't know if there will be any new problem. Please let me know if anyone met the same issue.

Top comments (0)