mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-07 11:00:43 -08:00
Fix typo in prompt_parser.py
assoicated -> associated
This commit is contained in:
parent
83a517eb96
commit
bb0e7232b3
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ re_attention = re.compile(r"""
|
||||||
|
|
||||||
def parse_prompt_attention(text):
|
def parse_prompt_attention(text):
|
||||||
"""
|
"""
|
||||||
Parses a string with attention tokens and returns a list of pairs: text and its assoicated weight.
|
Parses a string with attention tokens and returns a list of pairs: text and its associated weight.
|
||||||
Accepted tokens are:
|
Accepted tokens are:
|
||||||
(abc) - increases attention to abc by a multiplier of 1.1
|
(abc) - increases attention to abc by a multiplier of 1.1
|
||||||
(abc:3.12) - increases attention to abc by a multiplier of 3.12
|
(abc:3.12) - increases attention to abc by a multiplier of 3.12
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue