diff options
author | Meerkov <GoMeerkov@gmail.com> | 2023-10-29 22:37:08 +0000 |
---|---|---|
committer | Meerkov <GoMeerkov@gmail.com> | 2023-10-29 22:37:08 +0000 |
commit | fbc5c531b9cfa949d60dae19420d01f8af186b55 (patch) | |
tree | efbaff3cb8590b4568ec2a4db9a1322d5105e60b | |
parent | 5ef669de080814067961f28357256e8fe27544f4 (diff) | |
download | stable-diffusion-webui-gfx803-fbc5c531b9cfa949d60dae19420d01f8af186b55.tar.gz stable-diffusion-webui-gfx803-fbc5c531b9cfa949d60dae19420d01f8af186b55.tar.bz2 stable-diffusion-webui-gfx803-fbc5c531b9cfa949d60dae19420d01f8af186b55.zip |
Fix #13796
Fix comment error that makes understanding scheduling more confusing.
-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 334efeef..86b7acb5 100644 --- a/modules/prompt_parser.py +++ b/modules/prompt_parser.py @@ -5,7 +5,7 @@ from collections import namedtuple from typing import List
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']
|