aboutsummaryrefslogtreecommitdiffstats
path: root/modules/prompt_parser.py
diff options
context:
space:
mode:
authorDynamic <bradje@naver.com>2022-10-23 13:36:56 +0000
committerGitHub <noreply@github.com>2022-10-23 13:36:56 +0000
commit660ae690bd7107b78aac6413e1370f8cd72676bc (patch)
treeb666cfd0872687ccd293a41d9d0a90fcdfe1ea0a /modules/prompt_parser.py
parent21364c5c39b269497944b56dd6664792d779333b (diff)
parent6bd6154a92eb05c80d66df661a38f8b70cc13729 (diff)
downloadstable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.tar.gz
stable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.tar.bz2
stable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.zip
Merge branch 'AUTOMATIC1111:master' into kr-localization
Diffstat (limited to 'modules/prompt_parser.py')
-rw-r--r--modules/prompt_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prompt_parser.py b/modules/prompt_parser.py
index 919d5d31..f70872c4 100644
--- a/modules/prompt_parser.py
+++ b/modules/prompt_parser.py
@@ -275,7 +275,7 @@ re_attention = re.compile(r"""
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:
(abc) - increases attention to abc by a multiplier of 1.1
(abc:3.12) - increases attention to abc by a multiplier of 3.12