Skip to content

Releases: DominikDoom/a1111-sd-webui-tagcomplete

Release 3.1.0 - Various QoL and Bugfixes

05 Aug 10:13
Compare
Choose a tag to compare

Added:

  • Use custom wildcard wrapper chars from sd-dynamic-prompts if the option is set (#286)
  • Hovering over extra network results will now trigger selection events after a bit and show the preview just like keyboard navigation would (#292)

Fixed:

  • Some function names were made more specific to avoid naming conflicts with other extensions, as the webui lacks inherent scoping (#282)
  • Various issues with the frequency database
    • Import errors (#283)
    • Broken database breaking the entire script instead of just disabling frequency sort feature
  • Previews for SDXL embeddings not showing (#284)
  • Embedding name collisions (e.g. one SD1.x and one SDXL embed with the same name in different folders) now prefer the currently loaded model type over the other (#290)

Changed:

  • Derpibooru csv and colors update, thanks to @Siberpone (#293)
  • Demo chants file now includes pony quality presets (score_...)
    • Remember to make a copy of this and load that instead if you want to add your own chants, to prevent updates from overriding it.

Release 3.0.0 - Adaptive completion / frequency sorting

13 Apr 13:35
Compare
Choose a tag to compare

This is a major feature release that adds adaptive sorting to Tag Autocomplete.

In simple terms, the more you use a tag, the higher it will rank, meaning it gets pushed to the top of the list over time. You will have to type less to reach your favorite tags, even if their post count is much lower than other matches for your search term. It also works for all other completion types TAC supports, such as Loras, embeddings and wildcards.

This is a big change in how Tag Autocomplete shows its results, which is why it was "in beta" for quite a while. While I have used it for months already without issue, there might still be some oversights, so if you happen to encounter any problems with it, feel free to open an issue.

🖼️ Some example images of the feature in use (click to expand)

A tag sorted higher due to frequency will be marked with the ✨ symbol. It can also be reset at any time:
image

"solo" ranks higher than "sole_female"/"1girl":
image

"standing" ranks first despite a much lower post count:
image

Also works for embeddings:
image

And for lora:
image

New settings:
image

New settings:

As usual, the feature is very customizable through a number of settings (also shown in the example images):

  • Locally record tag usage and sort frequent tags higher
    • Turns the feature on/off
  • Function to use for frequency sorting
    • This determines how strong the influence of usage count on the sort order should be.
  • Minimum number of uses for a tag to be considered frequent
    • As the name suggests, usages lower than this will just be ignored.
  • Maximum days since last use for a tag to be considered frequent
    • This will not consider tags you haven't used for a long time to prevent having to manually reset them. It will continue as normal from the old count after you first use it again.
  • Maximum number of recommended tags
    • Caps the maximum number of recommendations at the set value to prevent them from completely displacing normal results (especially relevant for Extra Networks, as they have no inherent post count).
  • Frequency sorting matches aliases for frequent tags
    • Normally, aliases are ignored during frequency sorting since they would often get in the way of the wanted result (due to the main tag the alias links to ranking higher again, e.g. with the "solo" example).

Release 2.12.0

13 Apr 13:05
Compare
Choose a tag to compare

Added:

  • Two new tag lists, thanks to @Nenotriple (#280)
    • English Dictionary words
    • Derpibooru (My Little Pony)
      • Note: Derpibooru has a different color scheme than the existing tag files. If you are updating from a previous version and want to use it, you need to remove the tac_colormap setting value from your webui's config.json to reset it, or add this to it yourself.
  • Allow custom modifier keys for list navigation, thanks to @Symbiomatrix (#276)

Fixed:

  • Hide loras according to settings, thanks to @rkfg (#272)
  • Embeddings can now be completed using their relative paths (not shown in the dropdown list) to better support subfolder organization. Thanks to @Symbiomatrix (#277)

Changed:

  • Danbooru tag data was updated from 2022 to 2023, thanks to @wtre59 (#274)

Full Changelog: 2.11.0...2.12.0

Release 2.11.0

04 Feb 09:49
Compare
Choose a tag to compare

This release is for version parity with the main branch and contains all additions and bug fixes of the last few months.

Added:

  • Extra network model sort selection (e.g. sorting by newest instead of alphabetically), with the help of @Symbiomatrix (#236, #237)
  • Support for deepdanbooru-object-recognition textareas by @Jibaku789 (#261)
  • SFW version of e621 tags by @yuxi-liu-wired (#253)
  • Ability to search for & insert prompt style names as shown in the webui dropdown menu (#268)

Fixed:

  • Malformed YAML wildcards no longer stop the extension from loading (#240)
  • Wildcards containing $ signs are now inserted correctly (#247, #248)
  • Wildcards are no longer cut off after a colon in the inserted text (#267)

Changed:

  • Attempt to use built-in extra networks lists if available, with the help of @midcoastal (#255)
    • This reduces or removes the need to redundantly scan for files and improves startup time for large Lora collections.
  • If Lyco models are kept in their own folder, the extension will now still insert them with the <lora: prefix since modern webui versions don't use the <lyco: prefix anymore (#263)
    • A backwards compatibility option is provided for those using an old version with the third-party lycoris extension.

Full Changelog: 2.10.6...2.10.7

Release 2.10.6

09 Sep 13:07
Compare
Choose a tag to compare

Minor release containing two new options.

Added:

  • Option to include embeddings in the normal tag search (without needing the < prefix) (#230)
    • They are added before the normal tags if enabled. For quicker navigation in long lists, End and Home or whatever the JumpTo... keybinds are set to will select the first non-embedding result in the list depending on the direction.
  • Option to choose trigger keyword insertion position (#232)
    • Available are: "Start of prompt" (current behavior), "End of prompt" and "Before LORA/LyCO", which will insert it right in front of the currently completed Lora name.

Release 2.10.5

02 Sep 16:22
Compare
Choose a tag to compare

Minor release, including mostly bug fixes and support for new webui or third party features.

Added:

Fixed:

  • Result list no longer captures input if macOS cmd key is pressed (#222)
  • Force reload embeddings on temp file refresh, thanks to @Symbiomatrix (#223)
  • If the booru wiki links setting is enabled, it will now correctly remove translations before adding the link
  • Rework wildcard file content requests to use their own API endpoint instead of default gradio
    • This fixes an issue likely caused by relative paths & symlinks / junctions

Hotfix 2.10.1

07 Aug 20:31
Compare
Choose a tag to compare

Fixed:

  • Use built-in API endpoint (webui v1.1.0 and newer) for preview images to allow symlinks / external dirs (#217)
    • Will create direct blob urls as a fallback if the built-in endpoint isn't found for whatever reason
  • Look for GIF previews as well

Release 2.10.0 - Extra Network live previews

07 Aug 18:04
16bc6d8
Compare
Choose a tag to compare

This release adds a small preview window for extra network completion that will show their respective card thumbnails.
With this, it's now possible to quickly compare similar Loras, embeddings or hypernetworks without having to stop typing to look them up in the webui menu. It's on by default, but can be disabled in the settings.

extra_live_preview

Added:

  • Live previews for extra networks & setting to enable/disable it
  • Option to keep internal wildcard file order instead of sorting alphabetically
    • This allows to preserve a custom order or otherwise special file structure that would be disturbed by sorting

Fixed:

  • Native Lora keyword lookup now works for arbitrarily deep subfolders instead of just one level
  • Loras in subfolders are sorted correctly by name again
    • As a bug since v2.8.0, they were sorted including their folder paths, even though these paths aren't shown in the results list.
    • This would lead to confusing situations where "subfolder/A_Lora" would come after "B_Lora" in the list, but still be displayed as just A_Lora without the prefix.
  • Model keyword hash cache lookup consistency fix, thanks to @bluelovers (#215)

Release 2.9.0 - Dynamic Prompts YAML wildcard support

29 Jul 15:40
Compare
Choose a tag to compare

This release adds support for the YAML wildcard format https://github.com/adieyal/sd-dynamic-prompts uses.

Added:

  • Support for sd-dynamic-prompt wildcards in YAML format

Fixed:

  • "Issue with tags found in file" error message caused by Umi AI completion support
  • Duplicate entries from wildcard files with the same name (or YAML wildcards with the same keys)
    • Previously, this would show duplicate entries in the completion dropdown and only show content from the first match.
    • Now the entries get grouped together, so if two files both specify the category "clothes", or two different "clothes.txt" wildcard files exist in different folders of the same level, it will concatenate them into one result.

Release 2.8.0 - Feature additions for WebUI v1.5.0

26 Jul 13:26
Compare
Choose a tag to compare

This release adds support for the new Lora functionality added in the v1.5.0 WebUI release.

Since the webui now provides a native option to manually add trigger words for Loras, these will be preferred over the model-keyword ones if they exist. To enable it, the option must still be changed from "Never" to "Only user list" or "Always", which is now also possible without model-keyword being installed.

Support for visually differentiating Loras for SDv1/v2/XL in the list like with embeddings isn't included for now, but I plan to add it eventually since this info is now much more accessible than before in the webui.

Added:

  • Support for parts of the new extra networks config UI
    • Use specified activation keywords if enabled in the tag autocomlete settings
    • Use preferred weight per file if set

Changed:

  • Trigger word completion now works without model-keyword, but only for the trigger words set in the extra networks config menu
    • Trying to auto-find unknown keywords will still require the list provided by model-keyword