Commit Graph

37 Commits

Author SHA1 Message Date
catboxanon 5ab5405b6f
Simpler comparison
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2024-03-07 21:30:05 -05:00
catboxanon 766f6e3eca
edit-attention: deselect surrounding whitespace 2024-03-07 18:30:36 -05:00
missionfloyd 8052a4971e Fix parenthesis auto selection
Fixes #13813
2023-11-03 00:59:19 -06:00
AUTOMATIC1111 464fbcd921 fix the situation with emphasis editing (aaaa:1.1) bbbb (cccc:1.1) 2023-10-21 09:09:32 +03:00
AUTOMATIC1111 384fab9627 rework some of changes for emphasis editing keys, force conversion of old-style emphasis 2023-10-21 08:45:51 +03:00
AUTOMATIC1111 2f6ea8b103 respect keyedit_precision_attention setting when converting from old (((attention))) syntax 2023-10-15 10:12:38 +03:00
missionfloyd fff1a0c74f Make attention conversion optional
Fix square brackets multiplier
2023-10-13 17:18:02 -06:00
missionfloyd 954499a494 Convert (emphasis) to (emphasis:1.1)
per @SirVeggie's suggestion
2023-10-13 16:46:05 -06:00
missionfloyd 3562b0dc74 Fix negative values 2023-10-07 15:52:16 -06:00
missionfloyd fd51b8501e Fix multi-line selections 2023-10-07 15:28:25 -06:00
missionfloyd e34949be52 Edit-attention fixes 2023-10-06 22:49:33 -06:00
missionfloyd 56ef5e9d48 Remove end parenthesis from weight 2023-09-30 21:44:05 -06:00
missionfloyd 0eb5fde2fd Remove unneeded code 2023-09-30 21:20:58 -06:00
missionfloyd 0935d2c304 Use checkboxes for whitespace delimiters 2023-09-30 18:37:44 -06:00
missionfloyd 1cc7c4bfb3 Allow editing whitespace delimiters 2023-09-30 01:09:09 -06:00
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