aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers_common.py
diff options
context:
space:
mode:
authorCodeHatchling <steve@codehatch.com>2023-12-06 23:54:42 +0000
committerCodeHatchling <steve@codehatch.com>2023-12-07 01:02:07 +0000
commite90d4334ad37024a802f4ef27069b625a6508f72 (patch)
tree78ce5958735f60906258e5ea6b4574d053cb5f94 /modules/sd_samplers_common.py
parent38864816fa8c83d079a49f94674ca3dede9dcaad (diff)
downloadstable-diffusion-webui-gfx803-e90d4334ad37024a802f4ef27069b625a6508f72.tar.gz
stable-diffusion-webui-gfx803-e90d4334ad37024a802f4ef27069b625a6508f72.tar.bz2
stable-diffusion-webui-gfx803-e90d4334ad37024a802f4ef27069b625a6508f72.zip
A custom blending function can be provided by p, replacing the use of soft_inpainting.
Diffstat (limited to 'modules/sd_samplers_common.py')
-rw-r--r--modules/sd_samplers_common.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/sd_samplers_common.py b/modules/sd_samplers_common.py
index 9682bee3..58efcad2 100644
--- a/modules/sd_samplers_common.py
+++ b/modules/sd_samplers_common.py
@@ -277,7 +277,6 @@ class Sampler:
self.model_wrap_cfg.p = p
self.model_wrap_cfg.mask = p.mask if hasattr(p, 'mask') else None
self.model_wrap_cfg.nmask = p.nmask if hasattr(p, 'nmask') else None
- self.model_wrap_cfg.soft_inpainting = p.soft_inpainting if hasattr(p, 'soft_inpainting') else None
self.model_wrap_cfg.step = 0
self.model_wrap_cfg.image_cfg_scale = getattr(p, 'image_cfg_scale', None)
self.eta = p.eta if p.eta is not None else getattr(opts, self.eta_option_field, 0.0)