Dominik Reh
e7fa5aca18
Allow longer weighted editing
...
Also ignores closing parentheses now for writing a prompt in brackets
See #107
2023-03-18 16:03:21 +01:00
Dominik Reh
f026e7631c
Fix "Only show alias" option
...
Fixes #140
2023-03-16 16:30:17 +01:00
Dominik Reh
d1fff7bfa7
Use _ as a stand-in for spaces in < completion
...
Allows to continue typing embeddings, loras and hypernets if they have spaces in their file name
Closes #130
2023-03-01 11:14:06 +01:00
Dominik Reh
90664d47bf
Fixes for PR #128
...
Replaced the caret position detection with a more robust version
Added option to turn it off
2023-02-26 17:58:00 +01:00
For-ACGN
bc56c3ca72
add function getTextWidth and improve showResults.
2023-02-26 15:39:17 +08:00
Dominik Reh
712c4a5862
Trigger on unabbreviated lora/hypernet prefix
...
Makes going back to edit or switch out stuff easier since you don't need to erase the prefix anymore
2023-02-24 14:59:20 +01:00
Dominik Reh
b5817b8d4a
Use built-in input update event
...
This also solves the annoying console error after completion, which was due to missing the target property
See https://github.com/gradio-app/gradio/issues/2981 for details
2023-02-21 18:25:17 +01:00
Dominik Reh
6269c40580
Custom key bindings
...
Closes #127
2023-02-18 13:25:13 +01:00
Dominik Reh
76bd983ba3
Fix right alignment for count/meta text
2023-02-11 15:26:18 +01:00
Dominik Reh
2de1c720ee
Merge branch 'feature-extendability' into main
2023-02-11 15:15:46 +01:00
Dominik Reh
f2c3574da7
Rework extra file system
...
Now just for adding new custom tags either before or after the rest
2023-02-11 14:13:42 +01:00
Dominik Reh
b4fe4f717a
Extract sanitization / text edit before insertion
2023-02-11 13:36:39 +01:00
Dominik Reh
9ff721ffcb
Fix word break behavior for new max-width change
...
Closes #72 , at least with a simple solution
2023-02-11 12:32:42 +01:00
viyiviyi
f74cecf0aa
Fixes repeated file loads during setup and limits result width ( #126 )
...
Thanks to @viyiviyi
2023-02-11 12:10:31 +01:00
Dominik Reh
b540400110
Allow spaces in wildcard file names
2023-02-10 12:23:52 +01:00
Dominik Reh
d29298e0cc
Move anti-caching parameter to load function
...
For less repetition and shorter paths in the higher level functions.
Active by default, but can be disabled.
2023-02-10 11:59:06 +01:00
Dominik Reh
cbeced9121
Extract file load to queue
...
This enables other parsers to keep their load function in the same file
2023-02-10 11:55:56 +01:00
Dominik Reh
c70a18919b
Make tag regex work with more < configurations
...
Will now allow completion of a < tag if the one directly after is also a < tag only separated by a space.
(Happens often now that Loras are a thing and <>'s stay in the prompt with them)
2023-02-02 18:56:07 +01:00
Dominik Reh
db3319b0d3
Fix long lists not scrolling to top on reset
2023-01-29 18:43:09 +01:00
Dominik Reh
a588e0b989
Extract embeddings, hypernets and loras
2023-01-29 18:36:09 +01:00
Dominik Reh
b22435dd32
Extract wildcard keep open as well
2023-01-29 17:58:21 +01:00
Dominik Reh
b0347d1ca7
Extract UMI after insert update
2023-01-29 17:36:02 +01:00
Dominik Reh
fad8b3dc88
Safety checks
2023-01-29 17:19:24 +01:00
Dominik Reh
95eb9dd6e9
Extract UMI completion (base)
2023-01-29 17:19:15 +01:00
Dominik Reh
93ee32175d
Wildcard fixes & cleanup
2023-01-29 17:16:09 +01:00
Dominik Reh
86fafeebf5
Fix for undefined returns
2023-01-29 17:14:05 +01:00
Dominik Reh
29d1e7212d
Rename queues to fit const naming convention
2023-01-29 16:40:04 +01:00
Dominik Reh
8e14221739
Extract wildcard completion
2023-01-29 01:00:02 +01:00
Dominik Reh
cd80710708
Implement parser queue
2023-01-29 00:45:00 +01:00
Dominik Reh
3e0a7cc796
Custom error for missing override
2023-01-29 00:37:39 +01:00
Dominik Reh
98000bd2fc
Fix copy-paste error
2023-01-28 23:46:22 +01:00
Dominik Reh
d1d3cd2bf5
Add queue processing & callbacks
2023-01-28 23:28:15 +01:00
Dominik Reh
b70b0b72cb
Add base parser
2023-01-28 22:58:29 +01:00
Dominik Reh
a831592c3c
Rename globals file to ensure it's loaded first
2023-01-28 22:57:58 +01:00
Dominik Reh
e00199cf06
Move potentially shared vars to separate file
...
to ensure that they exist when other parts reference them
2023-01-28 22:36:16 +01:00
Dominik Reh
dc34db53e4
Trim carriage return from hyp and lora txts
2023-01-28 22:30:04 +01:00
Dominik Reh
e418a867b3
Merge branch 'hyp-lora-support' into main
2023-01-24 15:23:53 +01:00
Dominik Reh
040be35162
Don't escape parentheses for loras and hypernets
2023-01-24 15:03:56 +01:00
Dominik Reh
316d45e2fa
Use extra network multiplier from settings
2023-01-24 15:03:35 +01:00
Dominik Reh
8ab0e2504b
Fix meta display, add mixed results
...
< will show all three, while <e: <h: or <l: will limit it to that type.
2023-01-24 14:51:55 +01:00
Dominik Reh
b29b496b88
Simplify lora and hypernetwork loading
2023-01-24 14:08:11 +01:00
Dominik Reh
e144f0d388
Make script work without settings tab
...
Fixes #116
2023-01-24 13:08:43 +01:00
JM
ae01f41f30
add support for hypernetworks and lora
2023-01-22 19:24:59 +01:00
Dominik Reh
7fdad1bf62
Add back ability to use hashes in black/whitelist
...
They are displayed in the UI after all, just not in the dropdown but at the bottom
2023-01-14 14:57:39 +01:00
Dominik Reh
a91a098243
Change blacklist to use model name instead of hash
...
Hotfix for recent webui changes to use proper sha256 hashes, which is currently not displayed in the UI
2023-01-14 14:24:44 +01:00
Dominik Reh
c663abcbcb
Fix wiki links showing on embeddings & wildcards
2023-01-13 19:33:43 +01:00
Dominik Reh
bec222f2b3
Fix for 1-letter completion
...
Completion would sometimes not show if the prompt was only one letter long and identical to the previous completion
2023-01-12 15:54:57 +01:00
Dominik Reh
d4db6a7907
Option to show ? wiki links for danbooru/e621 tags
...
Disabled by default since the wiki pages likely contain NSFW images.
Closes #109
2023-01-12 15:49:53 +01:00
Dominik Reh
52593e6ac8
Update setting descriptions for black/whitelist
2023-01-12 14:45:16 +01:00
Dominik Reh
849e346924
Black/whitelisting options for models
...
Enables selective (de)activation based on model hash.
Closes #14
2023-01-12 14:35:54 +01:00