Booru style tag autocompletion for AUTOMATIC1111's Stable Diffusion web UI
MIT License
Bot releases are hidden (Show)
Published by DominikDoom over 1 year ago
This release adds support for the new in-prompt hypernetwork and Lora notation used in the current webui version.
The old method of <
will show Embeddings, Hypernetworks and Loras mixed together for convenience.
You can use <e:
, <h:
and <l:
respectively as a prefix to limit completion to that type.
Filtering embeddings by version using v1/v2 as a prefix still works for both types, so <v1
or <e:v1
.
Thanks to @Mulet-J for his first draft of the feature in #115!
Published by DominikDoom almost 2 years ago
The webui now uses proper sha256 hashes and has changed the way in which they are displayed. This release fixes the script to work with the new format.
Published by DominikDoom almost 2 years ago
Fixes the ?
wiki links being shown for embeddings and wildcards as well, instead of just for tags like they were meant to.
Published by DominikDoom almost 2 years ago
?
links next to the tags linking to their danbooru / e621 wiki pages. #109
If the prompt was only one letter long and identical to the previous completion (e.g. due to accidentally deleting the first letter or changing your mind twice in a row), completion would not show. The script now correctly resets its internal state if the last letter is deleted.
Published by DominikDoom almost 2 years ago
This release includes:
Published by DominikDoom almost 2 years ago
Displays version metadata for embeddings & allows filtering for it by prefixing the search with v1 / v2.
This makes it easy to find matching embeddings for sd-v1.x or 2.x models respectively. Implements #97.
I wait for the webui to load the embeddings to then get their version info, but if the model doesn't load any (e.g. a v2 model, but the user has no v2 embeddings, or the same with v1), I can't test what version they are and default to v1 since it's more common.
I could theoretically check them manually, but that would mean embeddings being loaded twice which would increase startup time, so I compromised here.
Published by DominikDoom almost 2 years ago
Adds support for https://github.com/Klokinator/Umi-AI, which uses a yaml-based tagging system for dynamic wildcard template selection.
Completion takes previous Umi tags into account to only show possible candidates, which allows progressive filtering to close in on wanted templates.
See #84, #88, #90, #93.
Thanks to @ctwrs for the help.
Published by DominikDoom almost 2 years ago
Adds base functionality for autocompletion support in third party text areas added by other extensions or scripts.
Includes https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor so far.
Adding new third party options is easily achieved by adding them in the thirdParty
dictionary of the new _textAreas.js
file, with their respective IDs or captions.
Feel free to open issues or pull requests for additional third party support.
Published by DominikDoom almost 2 years ago
Includes further fixes for #62 and #65.
Published by DominikDoom almost 2 years ago
Translations now need to be in a separate file to still be visible when typing the English tag counterpart in the new alias system.
See https://github.com/DominikDoom/a1111-sd-webui-tagcomplete#translations and the new config options related to it.
This new system is a bit more involved, but also allows for translating aliases, which wasn't possible before.
Published by DominikDoom almost 2 years ago
This release contains large updates to the default tag data snapshots, enabling the script to show both post count and search using aliases.
cat_eyes
redirecting to the actual tag slit_pupils
)Published by DominikDoom almost 2 years ago
Published by DominikDoom almost 2 years ago
Published by DominikDoom almost 2 years ago
Fixes parenthesis parsing broken by a038664616b7a8258ca80a10c1c1ae3595ee68a9 on accident.
(1.9.1 was replaced since it contained a half-broken fix)
Published by DominikDoom almost 2 years ago
Contains a reworked tag matcher to allow editing tags in weighting brackets: (tag)
, [tag]
and (tag:<number>)
.
Published by DominikDoom almost 2 years ago
Contains Linux bug fix for #46 as well as a fix for wildcards being loaded twice if the extension folder was also called wildcards
.
Published by DominikDoom almost 2 years ago
Now supports autocompletion in multiline prompts, whereas before it would break for anything after the first line.
Published by DominikDoom almost 2 years ago
The script now works if you install it as an extension instead of in the root (#41).
Now also supports loading wildcards from extensions regardless of the extension name, including combining multiple wildcard sources.
This will work with every extension that has a wildcards
folder in its root (#37).
Published by DominikDoom almost 2 years ago
Due to large amounts of separate wildcard files leading to bad performance issues with the previous method, they are now loaded on demand instead of preloaded.
Published by DominikDoom almost 2 years ago
Support for wildcards in the new extensions folder location (#35). Will only work for files in extensions\wildcards\wildcards
and its subfolders at the moment, so you might need to rename the extension folder if you cloned it with another name.