acorderob / sd-webui-prompt-postprocessor

Stable Diffusion WebUI & ComfyUI extension to post-process the prompt, including sending content from the prompt to the negative prompt and wildcards.
MIT License
23 stars 1 forks source link

[Issue] Combinational Generation with Dynamic Prompts #10

Closed NDWaffles closed 1 month ago

NDWaffles commented 1 month ago

Current Behavior

When PPP is active, Combinational Generations in the Dynamic prompts tab does not function, and will only generate a single image. Does not seem to put an error in console.

Expected Behavior

When Combinational Generations is checked, every combination of prompts from both wildcards and dynamic prompts({prompta|promptb}) is found and is used to generate images.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Enable PPP
  2. Create prompt with wildcards or dynamic prompts with multiple choices.
  3. Attempt to use Combinational Generations under Dynamic prompt tabs.
acorderob commented 1 month ago

The only thing that could be happening is that if PPP it is loaded before Dynamic Prompts and the "Process wildcards" option is enabled, it will process the wildcards/choices before Dynamic Prompts gets the prompt, so when it gets it there are no more choices to do the combinatorial.

Try disabling that setting, and if it works you can try to load the extensions in the correct order you need. They load in alphabetical order, just rename one of the folders.

Note that PPP can now replace DP except for some specific things like the combinatorial mode.

Edit: apparently disabling the option still processes the choices. I will have to check that, but try renaming the folder to fix your issue.

Edit2: i fixed the "process wildcards" setting in case you want to update.

NDWaffles commented 1 month ago

Update fixed the issues I was having. Thanks for your help, and thanks for making this useful extension!