Commit Graph

  • 342fbc9041 Pre-calculate usage bias for all results instead of in the sort function Roughly doubles the sort performance DominikDoom 2024-01-19 21:10:09 +01:00
  • d496569c9a Cache sort key for small performance increase DominikDoom 2024-01-19 20:17:14 +01:00
  • 7778142520 Same fix for embeddings and chants, although probably not relevant DominikDoom 2024-01-11 15:40:14 +01:00
  • cde90c13c4 Fix wildcards being cut off after colon DominikDoom 2024-01-11 15:38:33 +01:00
  • 231b121fe0 Update README DominikDoom 2024-01-09 11:54:07 +01:00
  • c659ed2155 Use <lora: for models in lycoris folder by default Added a backcompat option to keep using <lyco: if needed. Closes #263 DominikDoom 2023-12-24 14:11:19 +01:00
  • 0a4c17cada Merge pull request #261 from Jibaku789/main DominikDoom 2023-12-19 11:01:53 +01:00
  • 6e65811d4a Add support of deepdanbooru-object-recognition Jibaku789 2023-12-18 15:57:00 -06:00
  • 03673c060e Add wildcard exclusion options One for excluding specific folders by name, the other to skip them during refresh DominikDoom 2023-12-15 19:46:17 +01:00
  • 1c11c4ad5a Lora hash dict safety checks DominikDoom 2023-12-15 13:35:53 +01:00
  • 30c9593d3d Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-12-12 14:23:18 +01:00
  • f840586b6b Auto-refresh embedding list after model change DominikDoom 2023-12-12 14:13:13 +01:00
  • 886704e351 Fix lora import in a1111 This makes the built-in list method work on the initial load there DominikDoom 2023-12-12 13:46:51 +01:00
  • 41626d22c3 Fix refresh in SD.Next if no model was loaded DominikDoom 2023-12-12 12:15:58 +01:00
  • 57076060df Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-12-11 11:43:26 +01:00
  • 5ef346cde3 Attempt to use the build-in Lora.networks Lora/LyCORIS models lists (#258) DominikDoom 2023-12-11 11:37:12 +01:00
  • edf76d9df2 Revert "Attempt to use the build-in Lora.networks Lora/LyCORIS models lists (#255)" DominikDoom 2023-12-10 22:49:30 +01:00
  • 837dc39811 Attempt to use the build-in Lora.networks Lora/LyCORIS models lists (#255) Mike 2023-12-10 16:20:51 -05:00
  • f1870b7e87 Force text color to account for themes not following gradio settings As discussed in PR #256 DominikDoom 2023-12-10 15:30:49 +01:00
  • 20b6635a2a WIP usage info table Might get replaced with gradio depending on how well it works DominikDoom 2023-12-04 15:00:19 +01:00
  • 1fe8f26670 Add explanatory tooltip and inline reset ability Also add tooltip for wiki links DominikDoom 2023-12-04 13:56:15 +01:00
  • e82e958c3e Fix alias check for non-aliased tag types DominikDoom 2023-11-29 18:15:59 +01:00
  • 2dd48eab79 Fix error with db return value for no matches DominikDoom 2023-11-29 18:14:14 +01:00
  • 4df90f5c95 Don't frequency sort alias results by default with an option to enable it if desired DominikDoom 2023-11-29 18:04:50 +01:00
  • a156214a48 Last used & min count settings Also some performance improvements DominikDoom 2023-11-29 17:45:51 +01:00
  • 15478e73b5 Count positive / negative prompt usage separately DominikDoom 2023-11-29 15:20:15 +01:00
  • fcacf7dd66 Update README_ZH.md DominikDoom 2023-11-19 13:20:06 +01:00
  • 82f819f336 Move file to correct location DominikDoom 2023-11-18 11:55:47 +01:00
  • effda54526 e621 sfw version Yuxi Liu 2023-11-18 00:14:55 -08:00
  • 434301738a Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-11-05 13:30:51 +01:00
  • 58804796f0 Fix broken refresh buttons Likely caused by gradio changes DominikDoom 2023-11-05 13:07:47 +01:00
  • 668ca800b8 Add is_file checks to all glob searches Prevents folder names containing the suffix from breaking things Fixes #251 DominikDoom 2023-11-05 12:51:51 +01:00
  • a7233a594f Escape $ signs for the insert functions Fixes #248, as discussed in #247 DominikDoom 2023-10-14 16:19:34 +02:00
  • 4fba7baa69 Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-10-06 18:36:24 +02:00
  • 5ebe22ddfc Add sha256 (V2) keyword lookup As discussed in #245 DominikDoom 2023-10-06 16:46:18 +02:00
  • 44c5450b28 Fix special characters breaking wiki link urls DominikDoom 2023-10-06 14:54:29 +02:00
  • 5fd48f53de Fix csv parsing for unclosed quotes Fixes #245 DominikDoom 2023-10-06 14:44:03 +02:00
  • 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 DominikDoom 2023-10-02 00:41:38 +02:00
  • bd0ddfbb24 Fix embeddings not at top (only affecting the "include embeddings in normal results" option) DominikDoom 2023-10-02 00:16:58 +02:00
  • 3108daf0e8 Remove kaomoji inclusion in < search DominikDoom 2023-10-01 23:51:16 +02:00
  • 446ac14e7f Fix umi list not resetting after deleting chars behind "[" DominikDoom 2023-10-01 23:47:02 +02:00
  • 363895494b Fix hide after insert race condition DominikDoom 2023-10-01 23:17:12 +02:00
  • 04551a8132 Don't await increase, limit to 2k for performance DominikDoom 2023-10-01 22:59:28 +02:00
  • ffc0e378d3 Add different sorting functions DominikDoom 2023-10-01 22:44:35 +02:00
  • 440f109f1f Use POST + body to get around URL length limit DominikDoom 2023-10-01 22:30:47 +02:00
  • 80fb247dbe Sort results by usage count DominikDoom 2023-10-01 21:44:24 +02:00
  • b3e71e840d Safety check for missing shape DominikDoom 2023-09-26 15:12:29 +02:00
  • 998514bebb Proper support for SDXL embeddings Now in their own category, other embeddings don't get mislabeled anymore if an XL model is loaded DominikDoom 2023-09-26 14:14:20 +02:00
  • d7e98200a8 Use count increase logic DominikDoom 2023-09-26 12:20:15 +02:00
  • ac790c8ede Return dict instead of array for clarity DominikDoom 2023-09-26 12:12:46 +02:00
  • 22365ec8d6 Add missing type return to list request DominikDoom 2023-09-26 12:02:36 +02:00
  • 030a83aa4d Use query parameter instead of path to fix wildcard subfolder issues DominikDoom 2023-09-26 11:55:12 +02:00
  • 460d32a4ed Ensure proper reload, fix error message DominikDoom 2023-09-26 11:45:42 +02:00
  • 581bf1e6a4 Use composite key with name & type to prevent collisions DominikDoom 2023-09-26 11:35:24 +02:00
  • 74ea5493e5 Add rest of utils functions DominikDoom 2023-09-26 10:58:46 +02:00
  • 94ec8884c3 Fix SD.Next error caused by embeddings without filenames This only ignores these embeddings, the root cause is a bug / behavioral difference in SD.Next Fixes #242 DominikDoom 2023-09-26 10:27:50 +02:00
  • 6cf9acd6ab Catch sqlite exceptions, add tag list endpoint DominikDoom 2023-09-24 20:06:40 +02:00
  • 109a8a155e Change endpoint name for consistency DominikDoom 2023-09-24 18:00:41 +02:00
  • 3caa1b51ed Add db to gitignore DominikDoom 2023-09-24 17:59:39 +02:00
  • b44c36425a Fix db load version comparison, add sort options DominikDoom 2023-09-24 17:59:14 +02:00
  • 1e81403180 Safety catches for DB API access DominikDoom 2023-09-24 16:50:03 +02:00
  • 0f487a5c5c WIP database setup inspired by ImageBrowser DominikDoom 2023-09-24 16:28:32 +02:00
  • 2baa12fea3 Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-09-24 15:34:18 +02:00
  • 1a9157fe6e Fix wildcard load if no non-extension wildcards exist Fixes #241 DominikDoom 2023-09-21 10:15:53 +02:00
  • 67eeb5fbf6 Merge branch 'main' into feature-sort-by-frequent-use DominikDoom 2023-09-19 12:14:12 +02:00
  • 5911248ab9 Merge branch 'feature-sorting' into main DominikDoom 2023-09-19 12:10:45 +02:00
  • 1c693c0263 Catch UnicodeDecodeError to prevent corrupted yaml files from breaking the extension As mentioned in #240 DominikDoom 2023-09-17 15:28:34 +02:00
  • 11ffed8afc Merge branch 'feature-sorting' into feature-sort-by-frequent-use DominikDoom 2023-09-15 16:37:34 +02:00
  • cb54b66eda Refactor PR #239 to use new refresh API endpoint of this branch DominikDoom 2023-09-15 16:32:20 +02:00
  • 92a937ad01 Merge branch 'main' into feature-sorting DominikDoom 2023-09-15 16:30:23 +02:00
  • ba9dce8d90 Merge pull request #239 from NoCrypt/add_extra_refresh_listener DominikDoom 2023-09-15 16:29:35 +02:00
  • 2622e1b596 Refresh extra: fix python code did not excecuted NoCrypt 2023-09-15 21:12:30 +07:00
  • b03b1a0211 Add listener for extra network refresh button NoCrypt 2023-09-15 20:48:16 +07:00
  • 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. DominikDoom 2023-09-13 22:30:37 +02:00
  • d8d991531a Don't sort umi tags since they use count DominikDoom 2023-09-13 22:04:59 +02:00
  • f626b9453d Merge branch 'main' into feature-sorting DominikDoom 2023-09-13 21:56:29 +02:00
  • 5067afeee9 Add missing null safety DominikDoom 2023-09-13 21:55:09 +02:00
  • 018c6c8198 Fix Umi tag gathering & sorting Fixes #238 DominikDoom 2023-09-13 21:50:41 +02:00
  • 2846d79b7d Small cleanup, add reverse option Properly add text at the end on non-reverse numeric DominikDoom 2023-09-13 19:39:48 +02:00
  • 783a847978 Fix typo DominikDoom 2023-09-13 16:37:44 +02:00
  • 44effca702 Add sorting to javascript side DominikDoom 2023-09-13 14:02:28 +02:00
  • 475ef59197 Rework sorting function to calculate keys instead of pre-sort the list Rename added/changed variables to be clearer DominikDoom 2023-09-13 11:46:17 +02:00
  • 3953260485 Model sort selection. Symbiomatrix 2023-09-13 01:34:49 +03:00
  • 0a8e7d7d84 Stub API setup for tag usage stats DominikDoom 2023-09-12 14:10:15 +02:00
  • 46d07d703a Improve parentheses handling Still not perfect, but hoüpefully a good compromise. Should be less annoying during normal prompt writing. Closes #107 DominikDoom 2023-09-12 12:56:55 +02:00
  • bd1dbe92c2 Don't trigger on programmatic third party input events Fixes #233 DominikDoom 2023-09-12 11:50:07 +02:00
  • 66fa745d6f Merge pull request #235 from hakaserver/main DominikDoom 2023-09-12 09:46:09 +02:00
  • 37b5dca66e lyco_path fix hakaserver 2023-09-12 00:57:35 -03:00
  • 5db035cc3a Add missing comma for keyword insertion at end 2.10.6 DominikDoom 2023-09-09 14:54:11 +02:00
  • 90cf3147fd Formatting DominikDoom 2023-09-09 14:51:24 +02:00
  • 4d4f23e551 Formatting DominikDoom 2023-09-09 14:43:55 +02:00
  • 80b47c61bb Add new setting to choose where keywords get inserted Closes #232 DominikDoom 2023-09-09 14:41:52 +02:00
  • 57821aae6a Add option to include embeddings in normal search along with new keybind functionality for quick jumping between sections. Closes #230 DominikDoom 2023-09-07 13:18:04 +02:00
  • e23bb6d4ea Add support for --wildcards-dir cmd argument Refactor PR #229 a bit to share code with this 2.10.5 DominikDoom 2023-09-02 17:59:27 +02:00
  • d4cca00575 Merge pull request #229 from azmodii/main DominikDoom 2023-09-02 17:27:00 +02:00
  • 86ea94a565 Merge pull request #228 from re-unknown/main DominikDoom 2023-09-02 17:08:13 +02:00
  • 53f46c91a2 feat: Allow support for custom wildcard directory in sd-dynamic-prompts Joel Clark 2023-09-02 21:30:01 +10:00
  • e5f93188c3 Support for updated style editor ReUnknown 2023-09-02 16:51:41 +09:00
  • 3e57842ac6 Remove unnecessary autocomplete call in wildcards which would result in duplicate file requests DominikDoom 2023-08-29 10:23:13 +02:00
  • 32c4589df3 Rework wildcards to use own API endpoint Maybe fixes #226 DominikDoom 2023-08-29 09:39:32 +02:00