AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.1k stars 26.68k forks source link

[Feature Request]: Attention Emphasis Shortcut for stacking brackets (()) #5956

Open ghost opened 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

Please add attention emphasis shortcut feature

Proposed workflow

ctrl + for () ctrl - for [] ctrl * for {} ctrl \ for backlash

Additional information

No response

aliencaocao commented 1 year ago

{} does nothing btw And why you need this when you can just type it out... ctrl \ is 1 more key than just \

TheMundaneDave commented 1 year ago

You can increase as decrease emphasis as is with holding CTRL+SHIFT and either the up or down arrow while your desired text is selected

aliencaocao commented 1 year ago

You can increase as decrease emphasis as is with holding CTRL+SHIFT and either the up or down arrow while your desired text is selected

This was not clear in your original post. Please edit it in

TheMundaneDave commented 1 year ago

I was just chiming in. I am not the OP

aliencaocao commented 1 year ago

Oh, my bad.

ClashSAN commented 1 year ago

yeah, this was already in. I guess it was undocumented.

ClashSAN commented 1 year ago

oh yeah @nagikoru, it is in the features main readme description

select text and press ctrl+up or ctrl+down to automatically adjust attention to selected text (code contributed by anonymous user)

ghost commented 1 year ago

What is meant is by pressing CTRL and + by highlighting the word(s) add and multiplies the ().

Example:

from -> prompt: masterpiece -> CTRL and + (Twice) -> adds -> prompt: ((masterpiece))

ClashSAN commented 1 year ago

@nagikoru shortcut seems to only create numbered weights: (leaf:1.29) > (leaf:1:30)

aliencaocao commented 1 year ago

Actually whats the point in adding more brackets instead of weights? Isnt the latter neater and easier to understand?

ClashSAN commented 1 year ago

@aliencaocao one thing is the emphasized words are easier to recognize. Looking at some:

(Christmas:0.92) (Elf:1.53), (sitting:0.89)

the wall of numbers are hard to distinguish sometimes, especially if they are filling the whole prompt

ClashSAN commented 1 year ago

and I think auto personally preferred multiple bracket syntax at the start. It's easier for lazy eyes.