aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-04-16 21:06:37 -0400
committerGitHub <noreply@github.com>2023-04-16 21:06:37 -0400
commit9de7298898951d6038eeadee78f7be3b09d2cfc3 (patch)
treecfb8e1fd347afb5e3d2714704d806138430513ec /modules/processing.py
parent234fa9a57da00d3f549ea43348ab664665fc275e (diff)
Update processing.py
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 15ad629f..2f391ee4 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -640,7 +640,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
file.write(processed.infotext(p, 0))
step_multiplier = 1
- if shared.opts.fix_second_order_samplers_schedule:
+ if not shared.opts.dont_fix_second_order_samplers_schedule:
try:
step_multiplier = 2 if sd_samplers.all_samplers_map.get(p.sampler_name).aliases[0] in ['k_dpmpp_2s_a', 'k_dpmpp_2s_a_ka', 'k_dpmpp_sde', 'k_dpmpp_sde_ka', 'k_dpm_2', 'k_dpm_2_a', 'k_heun'] else 1
except: