aboutsummaryrefslogtreecommitdiff
path: root/modules/prompt_parser.py
diff options
context:
space:
mode:
authordiscus0434 <66945496+discus0434@users.noreply.github.com>2022-10-20 00:48:13 +0900
committerGitHub <noreply@github.com>2022-10-20 00:48:13 +0900
commit365d4b1650b77c8f8aedf4a294c2b9e47d665f04 (patch)
tree90c719f4b176e8676ea228237f354b73a3d67147 /modules/prompt_parser.py
parent3770b8d2fa62066d472a04739c7b84bce8538832 (diff)
parentf510a2277ee3641564c13841b04b50293384526f (diff)
Merge branch 'AUTOMATIC1111:master' into master
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