diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-03 17:11:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 17:11:54 +0000 |
commit | 73c74baa6a8ce4973794a4b6cf5ffc780bca8e8e (patch) | |
tree | 434f64eabe00891119434db4dc71ee213eb59a24 /modules/prompt_parser.py | |
parent | 1f373a2baa94a6731be9df1a665f981a0b31907a (diff) | |
parent | fbc5c531b9cfa949d60dae19420d01f8af186b55 (diff) | |
download | stable-diffusion-webui-gfx803-73c74baa6a8ce4973794a4b6cf5ffc780bca8e8e.tar.gz stable-diffusion-webui-gfx803-73c74baa6a8ce4973794a4b6cf5ffc780bca8e8e.tar.bz2 stable-diffusion-webui-gfx803-73c74baa6a8ce4973794a4b6cf5ffc780bca8e8e.zip |
Merge pull request #13797 from Meerkov/master
Fix #13796
Diffstat (limited to 'modules/prompt_parser.py')
-rw-r--r-- | modules/prompt_parser.py | 2 |
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']
|