Commit Graph

8 Commits (defdf8a9273fc1cd7c5a4be738d3e888bb452e1c)

Author SHA1 Message Date
shoffing 96fa8fb049 add support for weighted variants 2022-12-21 16:54:46 -05:00
Adi Eyal 8d7b3e562c Added ability to copy collections to wildcards folder 2022-12-12 13:54:32 +02:00
Adi Eyal b694b4b6b5 Added jinja2 templates - v0.18.0 2022-11-13 17:46:23 +02:00
Adi Eyal efb63bc2b9 Refactored custom joiner code and added tests 2022-11-08 09:32:59 +02:00
Adi Eyal ae9402f7eb Merge branch 'custom_joiner' of https://github.com/cobryan05/sd-dynamic-prompts into cobryan05-custom_joiner 2022-11-08 08:40:44 +02:00
Adi Eyal c87daca670 0.13.8 - Combinations now sample with replacement 2022-11-07 19:38:14 +02:00
Chris OBryan 2a1d8915f1 Support custom 'joiner' instead of comma
This commit adds support for a custom 'joiner' instead of a comma.
For example,

   {2$$and$$opt1|opt2|opt3}

will join together 2 selections from opt1,opt2,opt3 with the word
'and' instead of a comma, eg

  opt3 and opt1

Omitting the second $$ falls back to the default ','

Additionally, if a larger quantity is selected than number of
options provided then options will be selected with replacement.
This allows you to pull multiple samples from a wildcard file, eg

 {3$$featuring$$__artist__}

will take 3 random entries from artist.txt and join them with 'featuring'
2022-11-06 15:41:25 -06:00
Adi Eyal 38d0fae278 v0.11.0 - Changed the script into an extension 2022-10-29 21:43:33 +02:00