diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-11-04 04:56:58 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-11-04 04:56:58 +0000 |
commit | c3facab495e6bb29b5e0b16d064b44851a733a95 (patch) | |
tree | d2bc4c05b80b31e1c8d8e7936f1ec15ab01535f4 /modules/prompt_parser.py | |
parent | ddc2a3499b8cd120b4a42358bcd33137ce1d1e75 (diff) | |
parent | 452ab8fe724cc264a926c966e902727e743b2268 (diff) | |
download | stable-diffusion-webui-gfx803-c3facab495e6bb29b5e0b16d064b44851a733a95.tar.gz stable-diffusion-webui-gfx803-c3facab495e6bb29b5e0b16d064b44851a733a95.tar.bz2 stable-diffusion-webui-gfx803-c3facab495e6bb29b5e0b16d064b44851a733a95.zip |
Merge branch 'dev' into test-fp8
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']
|