diff options
author | Robert Barron <rubberbaron@robustspread.com> | 2023-08-09 14:46:30 +0000 |
---|---|---|
committer | Robert Barron <rubberbaron@robustspread.com> | 2023-08-09 17:38:47 +0000 |
commit | d1ba46b6e15d2f2917e7d392955c8c6f988527ba (patch) | |
tree | 947c25c3d802aae5693af960f35728c32cea714b /modules/shared.py | |
parent | 5a38a9c0eea7f8c77585fcb97c51bf0e103e706e (diff) | |
download | stable-diffusion-webui-gfx803-d1ba46b6e15d2f2917e7d392955c8c6f988527ba.tar.gz stable-diffusion-webui-gfx803-d1ba46b6e15d2f2917e7d392955c8c6f988527ba.tar.bz2 stable-diffusion-webui-gfx803-d1ba46b6e15d2f2917e7d392955c8c6f988527ba.zip |
allow first pass and hires pass to use a single prompt to do different prompt editing, hires is 1.0..2.0:
relative time range is [1..2]
absolute time range is [steps+1..steps+hire_steps], e.g. with 30 steps and 20 hires steps, '20' is 2/3rds through first pass, and 40 is halfway through hires pass
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 078e8135..a605b08b 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -516,6 +516,7 @@ options_templates.update(options_section(('compatibility', "Compatibility"), { "use_old_hires_fix_width_height": OptionInfo(False, "For hires fix, use width/height sliders to set final resolution rather than first pass (disables Upscale by, Resize width/height to)."),
"dont_fix_second_order_samplers_schedule": OptionInfo(False, "Do not fix prompt schedule for second order samplers."),
"hires_fix_use_firstpass_conds": OptionInfo(False, "For hires fix, calculate conds of second pass using extra networks of first pass."),
+ "use_old_scheduling": OptionInfo(False, "Use old prompt where first pass and hires both used the same timeline, and < 1 meant relative and >= 1 meant absolute"),
}))
options_templates.update(options_section(('interrogate', "Interrogate"), {
|