diff options
author | catboxanon <122327233+catboxanon@users.noreply.github.com> | 2023-08-06 01:14:13 +0000 |
---|---|---|
committer | catboxanon <122327233+catboxanon@users.noreply.github.com> | 2023-08-06 01:14:13 +0000 |
commit | 496cef956b3337c4745b1224e244706bd747195a (patch) | |
tree | 393dc7a2130350e4b42fb38f120539a03a728697 | |
parent | c6278c15a81bf65efb65ded50368972a920cc198 (diff) | |
download | stable-diffusion-webui-gfx803-496cef956b3337c4745b1224e244706bd747195a.tar.gz stable-diffusion-webui-gfx803-496cef956b3337c4745b1224e244706bd747195a.tar.bz2 stable-diffusion-webui-gfx803-496cef956b3337c4745b1224e244706bd747195a.zip |
Allow s_noise override to actually be used
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index a9d66005..1601a14c 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -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
|