Explorar o código

Fix typo in prompt_parser.py

assoicated -> associated
Ikko Ashimine %!s(int64=2) %!d(string=hai) anos
pai
achega
bb0e7232b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/prompt_parser.py

+ 1 - 1
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