sd-dynamic-prompts
sd-dynamic-prompts copied to clipboard
Is there a way to weight the line items in a YAML file?
I'd like to have one of the items in the array be used more often than the others.
try this
{
2::red
| 3::blue
| 1:: green
}
That would be to weight the tokens usage in a particular line item. I want to weight the usage of the line item itself.
Could you elaborate? Perhaps provide an example prompt? In the example above, blue
would be chosen 50% of the time red
33% of the time and green
17%
If you want to weight a wildcard, you could do something like:
{0.7::__warm_colors__|0.3::__cold_colors__}
Is that what you mean?
The yaml file might look like this:
demoran:
- line item 1
- line item 2
I want to have line item one selected more often than line item 2 when prompting __demoran__
.
I wish this worked:
demoran:
- 3::line item 1
- 2::line item 2