aboutsummaryrefslogtreecommitdiff
path: root/modules/prompt_parser.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-11-04 12:56:58 +0800
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-11-04 12:56:58 +0800
commitc3facab495e6bb29b5e0b16d064b44851a733a95 (patch)
treed2bc4c05b80b31e1c8d8e7936f1ec15ab01535f4 /modules/prompt_parser.py
parentddc2a3499b8cd120b4a42358bcd33137ce1d1e75 (diff)
parent452ab8fe724cc264a926c966e902727e743b2268 (diff)
Merge branch 'dev' into test-fp8
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 ddf4d2dd..cba13455 100644
--- a/modules/prompt_parser.py
+++ b/modules/prompt_parser.py
@@ -4,7 +4,7 @@ import re
from collections import namedtuple
import lark
-# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][ in background:0.25] [shoddy:masterful:0.5]"
+# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][: in background:0.25] [shoddy:masterful:0.5]"
# will be represented with prompt_schedule like this (assuming steps=100):
# [25, 'fantasy landscape with a mountain and an oak in foreground shoddy']
# [50, 'fantasy landscape with a lake and an oak in foreground in background shoddy']