AUTOMATIC1111 / stable-diffusion-webui

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

[Feature Request]: Fast weight control of the LoRa model #14564

Open pastuh opened 8 months ago

pastuh commented 8 months ago

Is there an existing issue for this?

What would your feature do ?

The new method enables LoRa weight modification by clicking on the symbols < and > (bracket symbols) These symbols can be pressed without any additional keyboard inputs.

Proposed workflow

  1. Add the LoRa model to the input field
  2. To increase or decrease the weight, hover over one of the symbols that indicate it's the LoRa model: < or >
  3. In case the symbol < is clicked, the model weight decreases
  4. The weight in the application is defaulted to 0.1, so the LoRa model weight reduced by that amount upon clicking

Additional information

At the moment, we can modify the LoRa model by pressing the CTRL key along with the Up or Down arrow keys. These functions are not available in a mobile or VR environment. Therefore, new functionality is necessary.

Example input: <lora:ABC:1.0> After clicking once < , weight changes to: <lora:ABC:0.9> After clicking twice > , weight changes to: <lora:ABC:1.1>

*The function activates changes only to the numbers that come after the model name and the first colon (:) symbol

paboum commented 8 months ago

Try selecting the lora-inducing keyword and pressing Ctrl + .