Damian at mba
864d080502
handle all unicode characters
2022-10-28 10:39:12 -04:00
Damian at mba
245cf606a3
be more forgiving about prompts with ((words))
2022-10-27 22:36:33 +02:00
Damian at mba
30745f163d
add one more test case
2022-10-27 21:18:08 +02:00
Damian at mba
e20108878c
fix attention weight inside .swap()
2022-10-27 21:17:23 +02:00
Damian at mba
135c62f1a4
fix issue with hot-dog, improve () suppression
2022-10-27 07:37:48 -04:00
Damian at mba
44e4090909
re-enable legacy blend syntax
2022-10-24 11:16:52 +02:00
Damian at mba
2619a0b286
allow longer substitutions without quotes for cross attention swap
2022-10-24 00:22:14 +02:00
Damian at mba
b0eb864a25
move attention weighting operations to postfix
2022-10-23 23:01:53 +02:00
Damian at mba
ee7d4d712a
parsing CrossAttentionControlSubstitute options works
2022-10-22 11:27:56 +02:00
Damian at mba
404d59b1b8
fix blend
2022-10-21 04:18:17 +02:00
Damian at mba
2e0b1c4c8b
ok now we're cooking
2022-10-21 03:29:50 +02:00
Damian at mba
da75876639
better support for word.swap(otherWord) without parantheses or quotes
2022-10-21 00:08:28 +02:00
Damian at mba
da88097aba
fix prompt handling in conditioning.py
2022-10-20 21:41:32 +02:00
Damian at mba
3f13dd3ae8
prompt parsing is now much more robust
2022-10-20 21:05:36 +02:00
Damian at mba
79b4afeae7
parser working with basic escapes
2022-10-20 16:56:34 +02:00
Damian at mba
da223dfe81
wip re-writing parts of prompt parser
2022-10-20 15:56:46 +02:00
Damian at mba
c9d27634b4
bring in prompt parser from fix-prompts branch
...
attention is parsed but ignored, blends old syntax doesn't work,
conjunctions are parsed but ignored, the only part that's used
here is the new .blend() syntax and cross-attention control
using .swap()
2022-10-20 12:01:48 +02:00
Damian at mba
42883545f9
add prompt language support for cross-attention .swap
2022-10-20 01:42:04 +02:00