sd-dynamic-prompts icon indicating copy to clipboard operation
sd-dynamic-prompts copied to clipboard

Wildcards are no longer random

Open unoriginalscreenname opened this issue 1 year ago • 4 comments

Just updated and started getting back into SD. I noticed that when I use the wildcards now they are no longer random? I'm getting the same ones each time. I have a list of celebrity names and if I use anything like celebs or {3$$celebs} I always get the same names being pulled.

unoriginalscreenname avatar May 24 '23 10:05 unoriginalscreenname

what version of the extension and dynamic prompts library are you using?

I've just tried __jumbo/creatures/tolkien__

and {3$$__jumbo/creatures/tolkien__}

I ran them multiple times and get different results each time

adieyal avatar May 24 '23 10:05 adieyal

Thanks for raising this - i'll test it, there is a good chance that the recent update to the way we handle seeds may have affected this

adieyal avatar May 24 '23 11:05 adieyal

Interesting, as of recent I notice when I used a fixed seed but leave a wildcard in the prompt the wildcard sticks to the first iteration

monoinyo avatar May 25 '23 19:05 monoinyo

Roll back to before 3aeda4682b724ebf074692101e205282bc22529c and it works fine.

            all_seeds = None
            if num_images:
                p.all_seeds, p.all_subseeds = get_seeds(
                    p,
                    num_images,
                    use_fixed_seed,
                    is_combinatorial,
                    combinatorial_batches,
                )
                all_seeds = p.all_seeds

If num_images is 0 we seem to get no seeds

shanehyde avatar May 27 '23 14:05 shanehyde

Is this still an issue with the latest version?

adieyal avatar Jun 03 '23 17:06 adieyal

Is this still an issue with the latest version?

it seems to be working again, thank you!

monoinyo avatar Jun 03 '23 23:06 monoinyo