adieyal / comfyui-dynamicprompts

ComfyUI custom nodes for Dynamic Prompts
MIT License
187 stars 20 forks source link

"Immediate" Variables are constant across generations #44

Open rewolf opened 4 months ago

rewolf commented 4 months ago

If I use an immediately-evaluated variable in a Random Prompt, in order to be able to reuse the same wildcard/variation choice in multiple places within a prompt, then I find that the node saves the choice for all future generations. So if I use auto-queue in Comfy, or just click Generate multiple times, I just get the same value each time.

eg image If red is selected, then hair will always be red hair as many times as I generate with this prompt even though the seed is incrementing.

dxnxz commented 2 months ago

See https://github.com/adieyal/sd-dynamic-prompts/issues/717#issuecomment-2067825110