adieyal / sd-dynamic-prompts

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

Nested Wildcards #795

Closed Eversor closed 1 week ago

Eversor commented 1 week ago

How does the probability work in case of nested wildcards? Say I have a wildcard file 2options.txt that has 2 nested options that have respectively 9 and 1 rows: 9suboptions 1suboption should i expect each suboption to have 10% chance of coming out, or 50% shared across the 9suboptions and 50% for the 1option ?