adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
2.05k stars 263 forks source link

[BUG] Magic Prompt only adding commas #645

Closed MysticDaedra closed 7 months ago

MysticDaedra commented 1 year ago

Magic Prompt is only adding commas. It kind of seemed like it was working properly at first, but now I'm just getting multiple commas in a row in the middle of the prompt:

cyberpunk, scifi, (futuristic:1.26),,,,

I also have the adjust prompt weights function enabled, as you can see there with futuristic. So that seems to be working, but the adding of random prompts is not for some reason. Running on SD.next, using SDXL and diffusers.

akx commented 1 year ago

Which MP model are you using, and what temperature value?

MysticDaedra commented 1 year ago

I'm not sure what you mean by temperature value... Do you mean prompt creativity? That's on default, 0.7. Here, I'll screenshot my settings:

image

For models, I've tried both the default one and the FredZhang7/anime-anything-promptgen-v2 model. Both had the exact same issue.

MysticDaedra commented 1 year ago

Here's an example prompt from a generated image:

image

As you can see, I've highlighted the... offending... bits where there are a bunch of commas added but no text.

akx commented 1 year ago

Yeah, creativity = temperature. I have the feeling this is an issue with how the model you're using is trained, not with the extension. We could, though, add post-filtering to deduplicate punctuation!