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.02k stars 261 forks source link

YAML weighted wildcard example tweak #781

Closed shiverczar closed 4 months ago

shiverczar commented 4 months ago

Correct / extend wildcard YAML weighted wildcard example. This version can be copied into a .yaml file directly and will function as-is.

shiverczar commented 4 months ago

Unrelated, but since I (may) catch you here...

Thank you so much for putting together and maintaining this extension. You're awesome!

shiverczar commented 4 months ago

LGTM, thanks. This could as well use a > or | block, but this is just as good :)

Honestly, I have no idea what I'm doing. Never used YAML for anything before, so there may well be far better ways of doing it.

I just know that the example as it was didn't work for me and this was what I was able to use to get it working after scrounging about on the web. Figured if anyone clueless like me wants to play with weighted files, I'd save them a little trouble :)