DominikDoom
342fbc9041
Pre-calculate usage bias for all results instead of in the sort function
...
Roughly doubles the sort performance
2024-01-19 21:10:09 +01:00
DominikDoom
30c9593d3d
Merge branch 'main' into feature-sort-by-frequent-use
2023-12-12 14:23:18 +01:00
DominikDoom
f840586b6b
Auto-refresh embedding list after model change
...
Uses own API endpoint and doesn't force-reload to skip unneeded work
(only works for A1111 as SD.Next model change detection isn't implemented yet)
2023-12-12 14:22:53 +01:00
DominikDoom
57076060df
Merge branch 'main' into feature-sort-by-frequent-use
2023-12-11 11:43:26 +01:00
DominikDoom
f1870b7e87
Force text color to account for themes not following gradio settings
...
As discussed in PR #256
2023-12-10 15:30:49 +01:00
DominikDoom
1fe8f26670
Add explanatory tooltip and inline reset ability
...
Also add tooltip for wiki links
2023-12-04 13:56:15 +01:00
DominikDoom
4df90f5c95
Don't frequency sort alias results by default
...
with an option to enable it if desired
2023-11-29 18:04:50 +01:00
DominikDoom
a156214a48
Last used & min count settings
...
Also some performance improvements
2023-11-29 17:45:51 +01:00
DominikDoom
15478e73b5
Count positive / negative prompt usage separately
2023-11-29 15:22:41 +01:00
DominikDoom
434301738a
Merge branch 'main' into feature-sort-by-frequent-use
2023-11-05 13:30:51 +01:00
DominikDoom
a7233a594f
Escape $ signs for the insert functions
...
Fixes #248 , as discussed in #247
2023-10-14 16:19:34 +02:00
DominikDoom
4fba7baa69
Merge branch 'main' into feature-sort-by-frequent-use
2023-10-06 18:36:24 +02:00
DominikDoom
5ebe22ddfc
Add sha256 (V2) keyword lookup
...
As discussed in #245
2023-10-06 16:46:18 +02:00
DominikDoom
44c5450b28
Fix special characters breaking wiki link urls
2023-10-06 14:54:29 +02:00
DominikDoom
7128efc4f4
Apply same fix to extra tags
...
Count now defaults to max safe integer, which simplifies the sort function
Before, it resulted in really bad performance
2023-10-02 00:45:48 +02:00
DominikDoom
bd0ddfbb24
Fix embeddings not at top
...
(only affecting the "include embeddings in normal results" option)
2023-10-02 00:16:58 +02:00
DominikDoom
3108daf0e8
Remove kaomoji inclusion in < search
...
because it interfered with use count searching and is not commonly needed
2023-10-01 23:51:35 +02:00
DominikDoom
363895494b
Fix hide after insert race condition
2023-10-01 23:17:12 +02:00
DominikDoom
04551a8132
Don't await increase, limit to 2k for performance
2023-10-01 22:59:28 +02:00
DominikDoom
ffc0e378d3
Add different sorting functions
2023-10-01 22:44:35 +02:00
DominikDoom
440f109f1f
Use POST + body to get around URL length limit
2023-10-01 22:30:47 +02:00
DominikDoom
80fb247dbe
Sort results by usage count
2023-10-01 21:44:24 +02:00
DominikDoom
d7e98200a8
Use count increase logic
2023-09-26 12:20:15 +02:00
DominikDoom
cb54b66eda
Refactor PR #239 to use new refresh API endpoint of this branch
2023-09-15 16:32:20 +02:00
DominikDoom
92a937ad01
Merge branch 'main' into feature-sorting
2023-09-15 16:30:23 +02:00
NoCrypt
2622e1b596
Refresh extra: fix python code did not excecuted
2023-09-15 21:12:30 +07:00
NoCrypt
b03b1a0211
Add listener for extra network refresh button
2023-09-15 20:48:16 +07:00
DominikDoom
3e33169a3a
Disable sort order dropdown pointer events while refresh is running
...
Doesn't prevent keyboard focus, but changing the values there is much slower since the list doesn't stay open.
2023-09-13 22:30:37 +02:00
DominikDoom
d8d991531a
Don't sort umi tags since they use count
2023-09-13 22:04:59 +02:00
DominikDoom
f626b9453d
Merge branch 'main' into feature-sorting
2023-09-13 21:56:29 +02:00
DominikDoom
5067afeee9
Add missing null safety
2023-09-13 21:55:09 +02:00
DominikDoom
018c6c8198
Fix Umi tag gathering & sorting
...
Fixes #238
2023-09-13 21:50:41 +02:00
DominikDoom
44effca702
Add sorting to javascript side
...
Now uses the sortKey if available. Elements without a sortKey will always use name as fallback.
Removed sort direction API again since it needs to be modeled case-by-case in the javascript anyway.
2023-09-13 14:03:49 +02:00
DominikDoom
46d07d703a
Improve parentheses handling
...
Still not perfect, but hoüpefully a good compromise. Should be less annoying during normal prompt writing.
Closes #107
2023-09-12 12:56:55 +02:00
DominikDoom
bd1dbe92c2
Don't trigger on programmatic third party input events
...
Fixes #233
2023-09-12 11:50:07 +02:00
DominikDoom
5db035cc3a
Add missing comma for keyword insertion at end
2023-09-09 14:54:11 +02:00
DominikDoom
80b47c61bb
Add new setting to choose where keywords get inserted
...
Closes #232
2023-09-09 14:41:52 +02:00
DominikDoom
57821aae6a
Add option to include embeddings in normal search
...
along with new keybind functionality for quick jumping between sections.
Closes #230
2023-09-07 13:18:04 +02:00
DominikDoom
651cf5fb46
Add metaKey and Shift to non-captured modifiers
...
Fixes #222
2023-08-19 11:59:41 +02:00
DominikDoom
b937e853c9
Fix booru wiki links with translations
2023-08-08 19:23:13 +02:00
DominikDoom
995a5ecdba
Live preview images for extra networks
...
Same as the thumbnails in the extra networks tab, just in a small preview window during completion
2023-08-07 18:50:55 +02:00
DominikDoom
14a4440c33
Fix extra network sorting
...
Caused by loras including their (hidden) folder prefixes instead of just by name
2023-08-07 17:38:40 +02:00
DominikDoom
cdf092f3ac
Fix lora keyword lookup for deep subfolders
2023-08-07 15:17:49 +02:00
DominikDoom
0b2bb138ee
Add option to keep wildcard file content order
...
instead of sorting alphabetically
Fixes #211
2023-08-05 13:42:24 +02:00
DominikDoom
a020df91b2
Fix wildcard traversal condition
2023-07-29 16:26:07 +02:00
DominikDoom
0260765b27
Add support for dynamic-prompts yaml wildcards
2023-07-29 16:13:23 +02:00
DominikDoom
2e271aea5c
Support for new webui 1.5.0 lora features
...
Prefers trigger words over the model-keyword ones
Uses custom per-lora multiplier if set
2023-07-26 14:38:51 +02:00
DominikDoom
b28497764f
Check keywords for .pt and .ckpt loras too
...
Especially for custom keywords, the preset list mostly uses safetensors
2023-07-23 11:27:02 +02:00
DominikDoom
e47c14ab5e
Refresh temp files now also reloads the keyword dict
2023-07-22 15:33:42 +02:00
DominikDoom
c41372143d
Add option to load only user list for keywords
2023-07-22 14:08:32 +02:00