Skip to content

Commit

Permalink
0.17.0 - Extension is now an AlwaysVisible script
Browse files Browse the repository at this point in the history
  • Loading branch information
adieyal committed Nov 12, 2022
1 parent 60c77a6 commit 01a8035
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
0.15.0 Improvements to Magic Prompt by @SineSwiper - added a slider to adjust the prompt length and another to tune creativity.
0.15.1 Fixed an error caused when setting wildcard_dir in config.json, also other minor bug fixes
0.15.2 Handle situation where no prompts are generated.
0.16.0 Added a checkbox to enable writing all generated prompts to a text file.
0.16.0 Added a checkbox to enable writing all generated prompts to a text file.
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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A custom extension for [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that implements an expressive template language for random or combinatorial prompt generation along with features to support deep wildcard directory structures.

<img src="images/extension.png"/>

Using this script, the prompt:

A {house|apartment|lodge|cottage} in {summer|winter|autumn|spring} by {2$$artist1|artist2|artist3}
Expand Down Expand Up @@ -32,6 +34,9 @@ You can also use the same wildcard twice
- I love Winter better than Summer
- I love Spring better than Spring

## AlwaysVisible
As of v0.17.0, Dynamic Prompts is an AlwaysVisible script. That means that it will co-exist with other scripts like X/Y Plot without needing to explicitly enable it. Big thanks to [@stysmmaker](https://github.com/stysmmaker) for this small but significant change.

## Installation

*Note* dynamic prompting is now an extension. To install, run the following command from within the webui directory:
Expand Down
Binary file added images/extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/dynamic_prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
else:
WILDCARD_DIR = Path(wildcard_dir)

VERSION = "0.16.0"
VERSION = "0.17.0"


wildcard_manager = WildcardManager(WILDCARD_DIR)
Expand Down

1 comment on commit 01a8035

@techamit11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

else:
WILDCARD_DIR = Path(wildcard_dir)

VERSION = "0.16.0"
VERSION = "0.17.0"

wildcard_manager = WildcardManager(WILDCARD_DIR)

Please sign in to comment.