Commit Graph

60 Commits (c38156271f8a1596db90d4629fa2def12dd79a21)

Author SHA1 Message Date
Adi Eyal c38156271f 0.12.0 - Added combinatorial batches 2022-10-30 00:34:38 +02:00
Adi Eyal 24eb2036d4 Bumped verson in CHANGELOG 2022-10-30 00:08:10 +02:00
Adi Eyal 90690b69b2 Removed junk 2022-10-30 00:07:27 +02:00
Adi Eyal 38d0fae278 v0.11.0 - Changed the script into an extension 2022-10-29 21:43:33 +02:00
Adi Eyal cf475adcf4
Update README.md 2022-10-29 18:55:02 +03:00
Adi Eyal 731d4265bb Added MagicPrompt to automatically create new prompts 2022-10-29 17:52:50 +02:00
Adi Eyal b1d673f319 Added impressionism 2022-10-29 16:50:05 +02:00
Adi Eyal 2b878f1564 Updated artists (wip) 2022-10-29 14:58:47 +02:00
Adi Eyal 7b4305cae4 0.9.1 - Added local random number generator
To ensure that re-running the same prompt with the same seed returns the
same result. Previously random prompts did not take the seed into
account
2022-10-29 11:46:27 +02:00
Adi Eyal 372cae45fe Started a modifier library 2022-10-29 00:15:28 +02:00
Adi Eyal 1a20771519 Minor fixes to readme 2022-10-28 10:51:27 +02:00
Adi Eyal d04185e83b Merge branch 'main' into feature/exhaustive-generation 2022-10-28 10:47:09 +02:00
Adi Eyal bcafd25cea Updated changelog 2022-10-28 09:57:28 +02:00
Adi Eyal 05df991f38 Merge branch 'main' into feature/wildcard-navigation 2022-10-28 09:56:38 +02:00
Adi Eyal 7c8b4b40fa UI code refactoring 2022-10-28 09:45:47 +02:00
TheAwesomeGoat b46f95ad90 changes 2022-10-27 20:01:46 +02:00
Adi Eyal 67fb6b0ff2 Updated wildcard generation and bug fixes
Changed generate from wildcards to use recursion for better control of
recursion depth. Also, fixed num_images counting bug
2022-10-27 07:59:11 +02:00
Adi Eyal 4d01242703 Initial implementation of combinatorial generation 2022-10-26 22:01:45 +02:00
TheAwesomeGoat e20cf0d164 fixed '/' in wildcard 2022-10-26 17:33:28 +02:00
TheAwesomeGoat 27f62dcf33 changes 2022-10-26 14:48:47 +02:00
TheAwesomeGoat 101ba66cc3 UI Changes 2022-10-26 11:49:13 +02:00
Adi Eyal e12dcdf16b Added wildcard globbing
Originally introduced here: https://github.com/adieyal/sd-dynamic-prompting/pull/15
2022-10-25 23:15:32 +02:00
TheAwesomeGoat e62d161bec fixed where it couldnt find a file 2022-10-25 18:09:43 +02:00
TheAwesomeGoat cb37a11217 ui changes 2022-10-25 16:03:03 +02:00
TheAwesomeGoat 7a6654ee63 ui changes 2022-10-25 16:01:49 +02:00
TheAwesomeGoat 9b3731819d folders for organization 2022-10-25 12:42:18 +02:00
TheAwesomeGoat 69ae030292 folders for organization 2022-10-25 12:41:11 +02:00
Adi Eyal 0f23134549 Updated changelog 2022-10-24 21:05:54 +02:00
Adi Eyal 21ab2c5fdd Merge branch 'evanjs-extended-glob' 2022-10-24 20:52:11 +02:00
Adi Eyal 7c43ebbff5 Incorporating recursive globbing and wildcard file comments
Also bumped the version to 0.5.0
Removed path globbing and danbooru tag compatibility pending further discussion
2022-10-24 20:50:16 +02:00
Evan Stoll 7e9f7d1edc Add `replace_underscore` checkbox from Vetchems/sd-danbooru-tags
Source: 07eb0d0de1/scripts/dynamic_prompting.py
2022-10-22 13:01:29 -04:00
Evan Stoll 686acf0521 Show full path relative to `WILDCARD_DIR` for each wildcard entry 2022-10-22 13:01:11 -04:00
Evan Stoll d0401a86c7 Scan for shown wildcards recursively and display results in scrollbox
* In the text element for the dynamic prompting script, ensure the wildcard directory is scanned recursively to ensure all wildcard files are listed
* Enable scrollbar for dynamic prompting text element to prevent uncontrollable growth of body height
2022-10-22 13:01:11 -04:00
Evan Stoll 4196e78be1 Add note to README regarding "fuzzy wildcard patterns" 2022-10-22 13:01:11 -04:00
Evan Stoll 484b190b0a dynamic_prompting.py: use "extended"/fuzzy matching for wildcards
* Supports fuzzy matches against full path:
 * `buildings` -> `settings/outdoors/buildings.txt`, `settings/indoors/buildings.txt`
 * `settings*natural` -> `settings/outdoors/natural.txt`
2022-10-22 13:01:11 -04:00
Adi Eyal 7f6428f0d5 Re-enabled grid generation 2022-10-22 11:43:36 +02:00
Adi Eyal 07f424539f Fixed bug where num_batches was being interpreted as num_images
https://github.com/adieyal/sd-dynamic-prompting/issues/10
2022-10-22 11:38:42 +02:00
Adi Eyal 415d02391f logging the generated prompt at logging.INFO level 2022-10-21 17:05:56 +02:00
Adi Eyal e3cc390aad Ignoring unknown characters in non-utf8 encoded files
hopefully fixes this [issue](https://github.com/adieyal/sd-dynamic-prompting/issues/2)
2022-10-19 17:09:00 +02:00
Adi Eyal 0304499b7e Merge branch 'main' of github.com:adieyal/sd-dynamic-prompting 2022-10-19 16:48:14 +02:00
Adi Eyal 26cb8e8d8a Fixed wildcard regular expression
Previous regex didn't allow underscores in wildcard filenames
2022-10-19 16:47:25 +02:00
Adi Eyal 849b497492
Fixed formatting in README 2022-10-19 16:11:30 +03:00
Adi Eyal 100b43bf94 Added recursive prompt resolultion
See this issue for a use case: https://github.com/adieyal/sd-dynamic-prompting/issues/3
2022-10-18 22:53:12 +02:00
Adi Eyal 5e0b006005 Updated changelog with combination intervals 2022-10-18 22:10:12 +02:00
Adi Eyal c3c383f17c Minor clean-up
Removed inline documentation - better to keep it in README
Minor change in exception handling
2022-10-18 22:04:46 +02:00
Shane Galvin 57f8be9132
quantity range order agnostic
1-3$$ and 3-1$$ are now both valid
2022-10-18 12:08:05 -04:00
Shane Galvin 852335d23a
increment version 2022-10-18 11:51:37 -04:00
Shane Galvin 9597eeae21
update inline documentation 2022-10-18 10:50:28 -04:00
Shane Galvin ffd8be3bf8
readme: combination range 2022-10-18 10:25:34 -04:00
Shane Galvin 678be757fe
add quantity range support for $$
Now can use syntax like {1-3$$a|b|c|d} to select a random quantity of options from a provided range of numbers
2022-10-18 10:21:36 -04:00