diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-14 06:48:40 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-14 06:49:51 +0000 |
commit | c7c16f805c9ea0da42d1d993f2ea7bda48beba76 (patch) | |
tree | 9a24fa40542489a2653a4fd70eca369d9f667cb7 /modules/processing.py | |
parent | f37cc5f5e1536230163c0bce7d204cf33b78f491 (diff) | |
download | stable-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-x | modules/processing.py | 3 |
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
|