-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this problem?
- I have searched the existing issues
Install method
Invoke's Launcher
Operating system
Windows
Version number
v6.10.0rc1
What happened
Recently added feature that allows weighting up/down attention with hotkey have undesirable behavior in following cases:
- It breaks up .and() prompt structure. Parentheses and quote marks being removed.
Prompt:
("masterpiece, best quality, high detail, oil painting, sunny midday light"
"an old stone castle standing on a hill, medieval architecture"
"lush rolling hills, expansive landscape, clear blue sky").and()
becomes:
masterpiece, best quality, high detail, oil painting, sunny midday light
an old stone castle standing on a hill, medieval architecture
lush rolling hills, (expansive landscape)+, clear blue sky.and
- If numeric attention weighting is present in prompt like (tag)1.2 it eats up some parentheses
and turns existing float numbers with 1-2 decimals into extremely long floats.
Prompt:
(masterpiece)1.3, best quality, (high detail)1.2, oil painting, (sunny midday light)1.15,
an old stone castle standing on a hill, medieval architecture, weathered stone walls,
(lush rolling hills)1.1, expansive landscape, clear blue sky
becomes:
masterpiece1.3000240000000003, best quality, (high detail)1.1999900000000001, oil painting, (sunny midday light)1.1500500000000002,
an old stone castle standing on a hill, medieval architecture, weathered stone walls,
(lush rolling hills)+, expansive landscape, (clear blue sky)+
Also note that it changed (tag)1.1 to (tag)+, which is correct, but i'd prefer to not change that.
What you expected to happen
I expect that existing structure not being changed and numerical values stay the same.
How to reproduce the problem
1.1. Make a prompt containing multiple chunks i.e. ("part 1", "part 2", "part 3") .and()
1.2. Select a tag you want to up/down weight and press Ctrl-Up/Down
2.1. Make a prompt containing numeric up/down weighting i.e. (tag)1.2
2.2. Select some other tag and press Ctrl-Up/Down.
Additional context
No response
Discord username
Dusty Shoe
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working