mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-31 02:32:57 +08:00
Fix #13796
Fix comment error that makes understanding scheduling more confusing.
This commit is contained in:
parent
5ef669de08
commit
fbc5c531b9
@ -5,7 +5,7 @@ from collections import namedtuple
|
|||||||
from typing import List
|
from typing import List
|
||||||
import lark
|
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):
|
# will be represented with prompt_schedule like this (assuming steps=100):
|
||||||
# [25, 'fantasy landscape with a mountain and an oak in foreground shoddy']
|
# [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']
|
# [50, 'fantasy landscape with a lake and an oak in foreground in background shoddy']
|
||||||
|
Loading…
Reference in New Issue
Block a user