diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-14 07:15:10 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-14 07:15:10 +0000 |
commit | abbecb3e7363e422d6840fbb5746c74fd453ead5 (patch) | |
tree | bf3fe320f918713828b682cf7880edcb163c30ba | |
parent | c7c16f805c9ea0da42d1d993f2ea7bda48beba76 (diff) | |
download | stable-diffusion-webui-gfx803-abbecb3e7363e422d6840fbb5746c74fd453ead5.tar.gz stable-diffusion-webui-gfx803-abbecb3e7363e422d6840fbb5746c74fd453ead5.tar.bz2 stable-diffusion-webui-gfx803-abbecb3e7363e422d6840fbb5746c74fd453ead5.zip |
further repair the /docs page to not break styles with the attempted fix
-rwxr-xr-x | modules/processing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index 69d365b8..f34ba48a 100755 --- a/modules/processing.py +++ b/modules/processing.py @@ -199,7 +199,9 @@ class StableDiffusionProcessing: print("sampler_index argument for StableDiffusionProcessing does not do anything; use sampler_name", file=sys.stderr)
self.comments = {}
- self.styles = []
+
+ if self.styles is None:
+ 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
|