2.11.1 Fixes #382 (Save wildcards" only works once) and added an option to autopurge the cache.
2.11.0 Upgraded dynamicprompts to v0.23.0 which includes speed improvements to the prompt parser.
2.10.5 Combinatorial batches now correctly uses a different seed per batch. Thanks to @dbitterlich. Fixes #190. Also upgraded dynamicprompts to v0.22.0 which makes WildcardManager trees easily composable - #74
2.10.3 Minor fixes and refactoring of the Wildcard Manager tab to reduce conflicts with other extensions
2.10.2 Upgraded dynamicprompts to v0.21.2 which adds a missing parser config
2.10.1 Upgraded dynamicprompts to v0.21.1 which fixes #358
2.10.0 Upgraded dynamicprompts to v0.21.0 which introduces variables and parameterised templates
2.9.1 Upgraded dynamicprompts to v0.20.2 which fixes #354 - No values found for wildcards on Windows
2.9.0 Magic Prompt models are now read from a text file enabling users to add their own. Default model and magicprompt batch size options have been added to the settings tab.
2.8.12 Prompts are frozen if the variation strength is greater than 0. See #310
2.8.11 Fixed the broken wildcards manager, see #338
2.8.10 Magic Prompt now works on M1/M2 Mac - see #329
2.8.9 Updated dynamicprompts to 0.10.5 which fixes #307
2.8.8 Slight tweak to 2.8.7
2.8.7 Fixed bug causing unwanted newlines in wildcard files on Windows. See #270
2.8.6 Added configurable batch size for Magic Prompts. Increasing the batch size can significantly improve prompt generation speed at the expense of slightly increases VRAM usage.
2.8.5 Fixed infinite recursion in Gradio 3.22.1 - see #316
2.8.4 Fixes ignore_whitespace for Jinja templates
2.8.3 Added a setting that limits the number of prompts generated by Jinja to batch_count * batch_size.
2.8.2 Added the ability to customise the wildcard wrap (prefix and suffix), see Settings -> Dynamic Prompts. Thanks to @aoirusann for implementing it.
2.8.1 Fixed ZeroDivisionError error when not using negative prompts
2.8.0 Upgraded to dynamic prompts v0.10.0 which enables combining random, combinatorial, cyclical prompts.
2.5.5 Prompts csv filname is now set to the name of the first image saved.
2.5.4 Bumped dynamicprompts to v0.4.3 - enables zero repititions in sequence commands, e.g. {0-3$$A|B|C}
2.5.3 Re-factored code into a single package
2.5.2 Upgraded to dynamicprompts v0.4.1 which allows for all printables to be used as variant separators, e.g. {2$$|$$A|B|C}. This addresses #211. Also fixed #222.
2.5.1 Fixed a circular dependency in install.py
2.5.0 Upgraded to dynamicprompts v0.4.0. Magic Prompts now has a regex block to remove unwanted wildcards - thanks to @akx.
2.4.4 Upgraded dynamicprompts to v0.3.2 which includes a security fix for wildcards preventing search outside of the extension's directory. thnkas to @akx
2.4.3 Added a script to import noodle prompts - thanks to @akx
2.4.2 Code cleanup by @akx
2.4.1 Fixed an annoying bug when copying collections into the wildcard directory. Wildcards were copied directly into the wildcards root directory, instead of the root of their collections. This fix may affect previously saved prompts that expect wildcard files to be in the root.
2.4.0 Upgraded dynamicprompts to v0.3.0 and provided alternative models to Magic Prompt
2.3.8 Fixed a bug introduced in 2.3.8 that breaks random generation
2.3.7 Added a maximum generation slider to combinatorial mode - this replaces the batch_count * batch size calculation used previously.
2.3.6 Using a Dummy Generator for attention grabber if spacy is not available
2.3.5 Fixed extras requirement from dynamicprompts
2.3.4 Changed the don't apply to negative prompts checkbox to apply to prompt magic only.
2.3.3 Added the extension devilkkw wildcards collection - check it out here
2.3.2 Added an accordion to hide the prompt helpers section by default
2.3.1 Fixed annoying unnecessary reinstallation of requirements. Also bumped dynamicprompts to v0.2.6 which includes wildcard caching
2.3.0 Moved some advanced options into the settings tab. These are now saved when the application closes.
2.2.1 Fixed unlink seed from prompt bug - see #150
2.2.0 Added option in advanced settings to save the raw prompt in the png metadata
2.1.1 Fixes a bug that caused the CombinatorialPromptGenerator to run slowly
2.1.0 Upgraded to dynamicprompts 0.2.0 which honours whitespace in prompts by default (this can be switched off in advanced settings)
2.0.4 Migrated to using Jinja2Generator from Dynamic Prompts. Removed all references to the old Jinja2 generator
2.0.3 Changed dependencies, now automatically upgrades the dynamicprompts version if available. Also fixed a bug where AttentionGenerator was being imported from dynamicprompts.generators instead of dynamicprompts.generators.attentiongenerator. The new version 0.1.18 of dynamicprompts removes an explicit dependency on pytorch and relies on the version that is installed with the webui. This avoids an unpleasant 1.8GB download.
2.0.2 Bumped dynamicprompts version to 0.1.17. This fixes alternative word syntax, i.e. [cat|dog]. The | character is now only reserved inside variants {a|b|c}
2.0.1 Using classes from the typing package for python 3.7 support
2.0.0 Migrated to using the dynamicprompts library
1.5.17 Better handling of missing __wildcard__ files
1.5.16 Fixed issue cause by literals adjacent to wildcards, e.g. ,__colours__ or (__colours__)
1.5.15 Reverted prompt-editing and alternate words parsing as it was causing way too many other issues.
1.5.14 Fixed parsing of emphasis with weights, e.g. (high emphasis:1.5)
1.5.13 Fixed variants with empty value, e.g. A {|red|blue} rose
1.5.12 Removed comments checkbox as comments are now enabled by default
1.5.11 Added a list of occupations to the jumbo collection
1.5.10 Parser now correctly ignores [low emphasis] square brackets
1.5.9 Fixed attention grabber sliders
1.5.8 Both prompt editing ([a:b:when]) and prompt alternating ([a|b]) can now nest arbitrary prompts, e.g. A [__colours__:{pink|yellow}] rose
1.5.7 Added passthru support for prompt editing (i.e. [a:b:when] remains unchanged). A future release will enable variable components, e.g. [__colours__:__colours:4]
1.5.6 Added various materials to the jumbo collection
1.5.5 Fixed resolving nested prompts in wildcard files in random generator
1.5.2 Added a large number of birds to the jumbo collection
1.5.1 Added configuration slides for min and max attention. The default has been changed to 1.1-1.5
1.5.0 Updated prompt parser to use pyparsing which allows for arbitrary recursive prompts and fixes some long-time bugs. There may be a few wrinkles that still need to be iron out
1.4.4 Added confirm prompt when deleting wildcards. Wildcards are also sent to Trash instead of being deleted outright
1.4.3 Added animal wildcards to the jumbo collection
1.4.2 The change for 1.4.1 broke the ability to use wildcards in combination braces, e.g. {2$$__colours__}, 1.4.2. fixes this.
0.27.0 Added option to disable image generation - useful in combination with writing prompts to file
0.26.0 Added option to disable the negative prompt
0.25.1 Explicitly setting encoding when writing prompts to file. Also ignoring errors
0.25.0 Negative prompts are now dynamic, Big thanks to @lilly1987
0.24.4 Tucked help into separate accordions to prevent too much clutter
0.24.3 Added shuffle to combinatorial generation so that a different subset of prompts is generated every time if the total number of prompts is greater than Batch size * Batch count
0.24.2 Minor bug fix in weighted choice jinja2 extension
0.24.1 Re-wrote combinatorial generation to use a queue instead of recursion
0.24.0 I'm feeling lucky now using the prompt as a search string.
0.23.1 Fixed a bug that didn't limit the number of prompts when using combinatorial generation and large wildcard files
0.23.0 Added I'm feeling lucky for the ultimate in lazy prompting
0.22.0 Added a weighted choice function to jinja2 templates
0.21.0 Added a checkbox to disable dynamic prompts if needed
0.20.1 Using launch.run_pip instead of subprocess to install dependencies
0.20.0 Added random, randint, and permutations jinja extensions
0.19.0 Added a checkbox to enable unlinking seeds from prompts. This feature has been available for sometime but there hasn't been a checkbox in the ui to enable it.
0.18.0 Added Jinja2 templates as an experimental feature
0.17.1 Minor bug fix checking type of combinatorial batches
0.17.0 Dynamic prompts is now an AlwaysVisible script. It now plays nicely with other scripts like X/Y plot. Big thanks to @stysmmaker
0.16.0 Added a checkbox to enable writing all generated prompts to a text file.
0.15.2 Handle situation where no prompts are generated.
0.15.1 Fixed an error caused when setting wildcard_dir in config.json, also other minor bug fixes
0.15.0 Improvements to Magic Prompt by @SineSwiper - added a slider to adjust the prompt length and another to tune creativity.
0.14.0 Added the ability to change the combinations joiner from the default "," to anything you like, e.g. {1$$and$$red|blue} gives you red and blue - contributed by @cobryan05
0.13.9 Added implicit lower and upper ranges to combinations - thanks to @galvanized
0.13.8 Allow sampling with replacement for variants, i.e. {2$$X|Y} can return X,X Y,Y X,Y and Y,X. Useful in combination with wildcards. {2$$artists} now also chooses two options from the artists.txt file.
0.13.7 Python 3.8 compatibility
0.13.6 Moved wildcards into the collections directory and added the parrot zone collection with thanks to @jmpaz
0.13.5 Updated stylesheet from @Yaiol to fix light and dark theme
0.13.4 Fixed 0.13.3, but thiss time for real
0.13.3 Added an option to revert 0.9.1. There isn't a ui for it yet, but you can edit constants.py. Change to UNLINK_SEED_FROM_PROMPT = True
0.13.2 Fixed combinatorial bug which generated duplicate templates
0.13.1 Fixed light mode css
0.13.0 Added same seed checkbox to keep the seed constant for all generations.
0.12.0 Added a slider to enable combinatorial generation in batches, in other words, run the same set of prompts with different seeds
0.11.0 Migrated to an extension
0.10.0 Added magic prompts
0.9.2 Added additional artists and refactored code.
0.9.1 Added local Random instance to ensure repeatability without changing the global random number generator
0.9.0 Started a modifer library. Turns out it's much better than the long unsorted lists of artists you find elsewhere.
0.8.0 Combinatorial generation
0.7.0 Updated wildcard ui by @TheAwesomeGoat.7.0 Updated wildcard ui by @TheAwesomeGoat
0.6.0 Added path globbing for wildcards. Thanks for @evanjs for the idea and original implementation
0.5.0 The script can now handle nested wildcard directories in order to make it easier to organise large wildcard collections. Comments and empty lines are now ignored. Both features thanks to @evanjs
0.4.5 Enabled generation of grids
0.4.4 Fixed bug where num_batches was being interpreted as num_images
0.4.3 Printing prompts at logger level INFO
0.4.2 Ignoring unknown characters in non-utf8 encoding wildcard files
0.4.1 Fixed regular expression for wildcards, it previously didn't allow wildcard files with underscores in them.
0.4 Rows in a wildcard file that contain dynamic syntax will be resolved. This enables recusive resolution. See this feature request for a use case
0.3 Added interval implementation for combinations, i.e. you can now use {1-2$$op1|opt2|opt3} which will choose one or two options. Thanks to @galvanized for this.