Allow s_noise override to actually be used

This commit is contained in:
catboxanon 2023-08-05 21:14:13 -04:00
parent c6278c15a8
commit 496cef956b

View File

@ -149,7 +149,7 @@ class StableDiffusionProcessing:
self.s_churn = s_churn or opts.s_churn
self.s_tmin = s_tmin or opts.s_tmin
self.s_tmax = s_tmax or float('inf') # not representable as a standard ui option
self.s_noise = s_noise or opts.s_noise
self.s_noise = opts.data.get('s_noise', s_noise)
self.override_settings = {k: v for k, v in (override_settings or {}).items() if k not in shared.restricted_opts}
self.override_settings_restore_afterwards = override_settings_restore_afterwards
self.is_using_inpainting_conditioning = False