aboutsummaryrefslogtreecommitdiffstats
path: root/modules/prompt_parser.py
diff options
context:
space:
mode:
authorezxzeng <zhixuan.zeng@gmail.com>2023-11-07 20:25:27 +0000
committerGitHub <noreply@github.com>2023-11-07 20:25:27 +0000
commitf9c14a8c8c8b682c2a7f7a11306b26e2a28ebeec (patch)
tree1c7f6abc11bd2aacd2a0d16a0b7db1963c9b26cd /modules/prompt_parser.py
parent759515316e8ec536f34fad616e8c6a33674a164b (diff)
parent5e80d9ee99c5899e5e2b130408ffb65a0585a62a (diff)
downloadstable-diffusion-webui-gfx803-f9c14a8c8c8b682c2a7f7a11306b26e2a28ebeec.tar.gz
stable-diffusion-webui-gfx803-f9c14a8c8c8b682c2a7f7a11306b26e2a28ebeec.tar.bz2
stable-diffusion-webui-gfx803-f9c14a8c8c8b682c2a7f7a11306b26e2a28ebeec.zip
Merge branch 'dev' into ui_mobile_optimizations
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']