Commit Graph

22 Commits

Author SHA1 Message Date
missionfloyd 0b0767939d Correctly remove end parenthesis with ctrl+up/down 2023-06-28 17:51:27 -06:00
catboxanon 373903d851 hiresfix prompt: add classes, update css sel 2023-05-20 19:34:50 +00:00
Aarni Koskela 9c54b78d9d Run `eslint --fix` (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
Aarni Koskela 8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
missionfloyd 0e071ae504 Custom delimiters 2023-04-25 08:08:57 -06:00
missionfloyd c1fdba5904
Remove hyphen, underscore delimiters 2023-04-21 13:44:31 -06:00
missionfloyd 27d02597c7
Remove parentheses if weight == 1 2023-04-21 01:37:29 -06:00
missionfloyd 7ef5551634 Update delimiters 2023-04-20 02:24:38 -06:00
missionfloyd ee172c0fc1 Simplify finding word boundaries
This also makes it work with prompts without spaces between words
2023-04-20 01:34:13 -06:00
missionfloyd fbd34a6847 Use string.contains() instead of regex 2023-04-20 01:12:59 -06:00
missionfloyd e735be8b5b Automatically select current word 2023-04-19 22:04:34 -06:00
AUTOMATIC 9b2f205400 fix ctrl+up/down attention edit
fix dropdown obscured by live preview
stylistic changes
2023-03-25 09:00:36 +03:00
AUTOMATIC 2621566153 attention ctrl+up/down enhancements 2023-01-22 08:07:18 +03:00
AUTOMATIC e33cace2c2 fix ctrl+up/down that stopped working 2023-01-20 12:19:30 +03:00
AUTOMATIC 38b7186e6e update sending input event in java script to not cause exception in browser https://github.com/gradio-app/gradio/issues/2981 2023-01-17 14:15:47 +03:00
byzod 7e5f1562ec
Update edit-attention.js
Fix https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3904
(Some sort of a workaround, the best way is to add unique id or class name to those prompt boxes)
2022-11-03 18:54:25 +08:00
Justin Maier 7543787a0a Auto select attention block for editing 2022-10-18 14:24:01 +03:00
AUTOMATIC 73901c3f01 make attention edit only work with ctrl as was initially intended 2022-10-15 15:51:57 +03:00
DepFA 6d408c06c6
Prevent nans from failed float parsing from overwriting weights 2022-10-12 00:19:28 +01:00
nai-degen 9e5f6b5580 triggers 'input' event when using arrow keys to edit attention 2022-10-11 21:19:30 +03:00
Jairo Correa a958f9b3fd edit-attention browser compatibility and readme typo 2022-10-08 09:38:44 +03:00
AUTOMATIC 2995107fa2 added ctrl+up or ctrl+down hotkeys for attention 2022-10-06 23:44:54 +03:00