aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-14 06:48:40 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-14 06:49:51 +0000
commitc7c16f805c9ea0da42d1d993f2ea7bda48beba76 (patch)
tree9a24fa40542489a2653a4fd70eca369d9f667cb7 /modules/processing.py
parentf37cc5f5e1536230163c0bce7d204cf33b78f491 (diff)
downloadstable-diffusion-webui-gfx803-c7c16f805c9ea0da42d1d993f2ea7bda48beba76.tar.gz
stable-diffusion-webui-gfx803-c7c16f805c9ea0da42d1d993f2ea7bda48beba76.tar.bz2
stable-diffusion-webui-gfx803-c7c16f805c9ea0da42d1d993f2ea7bda48beba76.zip
repair /docs page
Diffstat (limited to 'modules/processing.py')
-rwxr-xr-xmodules/processing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 74366655..69d365b8 100755
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -114,7 +114,7 @@ class StableDiffusionProcessing:
prompt: str = ""
prompt_for_display: str = None
negative_prompt: str = ""
- styles: list[str] = field(default_factory=list)
+ styles: list[str] = None
seed: int = -1
subseed: int = -1
subseed_strength: float = 0
@@ -199,6 +199,7 @@ class StableDiffusionProcessing:
print("sampler_index argument for StableDiffusionProcessing does not do anything; use sampler_name", file=sys.stderr)
self.comments = {}
+ self.styles = []
self.sampler_noise_scheduler_override = None
self.s_min_uncond = self.s_min_uncond if self.s_min_uncond is not None else opts.s_min_uncond