mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-13 21:01:06 +08:00
Update processing.py
This commit is contained in:
parent
b45c68fe3e
commit
d04765cf3d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user