further repair the /docs page to not break styles with the attempted fix

This commit is contained in:
AUTOMATIC1111
2023-08-14 10:15:10 +03:00
parent c7c16f805c
commit abbecb3e73

View File

@@ -199,6 +199,8 @@ class StableDiffusionProcessing:
print("sampler_index argument for StableDiffusionProcessing does not do anything; use sampler_name", file=sys.stderr)
self.comments = {}
if self.styles is None:
self.styles = []
self.sampler_noise_scheduler_override = None