From d04765cf3d74a574f542b2eb2e8aed8be39308e3 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Sat, 27 Jan 2024 22:47:04 -0800 Subject: [PATCH] Update processing.py --- modules/processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/processing.py b/modules/processing.py index cbb71db8..775b0e57 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -225,8 +225,6 @@ class StableDiffusionProcessing: is_api: bool = field(default=False, init=False) - extra_result_images = [] - def __post_init__(self): if self.sampler_index is not None: print("sampler_index argument for StableDiffusionProcessing does not do anything; use sampler_name", file=sys.stderr) @@ -258,6 +256,8 @@ class StableDiffusionProcessing: self.cached_uc = StableDiffusionProcessing.cached_uc self.cached_c = StableDiffusionProcessing.cached_c + self.extra_result_images = [] + @property def sd_model(self): return shared.sd_model