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

bug: combinations and wildcards didn't generation every possible prompt

Open bluelovers opened this issue 1 year ago • 9 comments

expeced

create all 34 prompt of wildcards

1girl, ({__spoken_mark__}:1.6)

but get 34 prompt is same

1girl, (spoken_anger_vein:1.6)

image


spoken_mark.txt

bluelovers avatar Apr 03 '23 13:04 bluelovers

Could you please mention which checkboxes are ticked?

adieyal avatar Apr 03 '23 18:04 adieyal

I believe I'm having the same issue. I can use a wildcard and it picks one at the start and all pictures, regardless of how many batches or count, use the same wildcard.

I don't know about OP, but the only Dynamic Prompt checkbox I have checked is enable. In Settings, I do have "Ignore whitespace in prompts: All newlines, tabs, and multiple spaces are replaced by a single space" checked as well as "Save template to metadata: Write prompt template into the PNG metadata"

I've also noticed if I close A1111 and the browser tab I'm using and restart it all, it'll sometimes work correctly once or twice and then break again. I updated everything today. (git pull for A1111 and Check For Updates under Extension tab.)

astrosteve avatar Apr 04 '23 01:04 astrosteve

I am experiencing the same issue as well. Previously, words were generated randomly, but now the same word is being applied.

Was there a checkbox for “Do not apply the same word (or do apply?)” that has disappeared?

YuK1Game avatar Apr 05 '23 15:04 YuK1Game

I had the same issue at first, but later I found that I had enabled other extensions related to prompts (such as Unprompted). After I disabled other extensions, the problem was resolved. Maybe this can help you too.

AnlloXander avatar Apr 06 '23 16:04 AnlloXander

@astrosteve, @YuK1Game - just to be sure, please let me know which version of the extension and dynamicprompts library you are using (in the Need Help? section).

Really strange, behaviour. In case there is a problem with your wildcard file, could you try this prompt (assuming you have installed the artist collection) - __artists/genre/anime__ in 4k

Also, do you see any errors in the console?

adieyal avatar Apr 06 '23 18:04 adieyal

For me, it's showing: You are using version 2.10.5 of the WebUI extension, and the underlying dynamicprompts library is version 0.22.0.

I don't have the artists collection installed, but I've been using wildcard files I created months ago with no issue until now, so it's probably not the files themselves. But it isn't showing any errors in the console.

Edited to add: I just did a clean install and it works fine. Therefore, my other install must be broken somehow. Clean reinstall seems to be the answer.

astrosteve avatar Apr 09 '23 13:04 astrosteve

@astrosteve thanks for the feedback. I can't think what might be the issue. Your versions are up-to-date. Did you re-install all of auto1111 or only the extension?

adieyal avatar Apr 09 '23 18:04 adieyal

image

current

it give me 34 images of same prompts 1girl, (spoken_anger_vein:1.6)

image

image

image

expected

give me 34 images of all 34 prompts from wildcards file

1girl, (spoken_heart:1.6)
1girl, (spoken_ellipsis:1.6)
1girl, (spoken_question_mark:1.6)
...
1girl, (spoken_money:1.6)

bluelovers avatar Apr 09 '23 21:04 bluelovers

@astrosteve thanks for the feedback. I can't think what might be the issue. Your versions are up-to-date. Did you re-install all of auto1111 or only the extension?

Okay, so I think I figured it out, as it started happening again. The Promptgen extension seems to break Wildcards for some reason. If I have it on, Wildcards don't work, but they always start working again once I turn it off. That's why a clean reinstall worked, because the only extension I had installed was Dynamic Prompts. Which is unusual as Promptgen doesn't even do anything to generation. It just makes prompts. But I've tested it several times and it never works right with Promptgen enabled and always works normally without it.

astrosteve avatar Apr 13 '23 14:04 astrosteve

That solved it for me, too!

neomagic75 avatar Jun 04 '23 16:06 neomagic75