styles support parsed and upparsed save and apply

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-02-11 11:33:37 -05:00
parent 640aff898c
commit c608674fb0
18 changed files with 103 additions and 53 deletions
+7 -5
View File
@@ -54,11 +54,11 @@ class StableDiffusionProcessing:
do_not_reload_embeddings: bool = False,
restore_faces: bool = False,
# detailer
detailer_enabled: bool = False,
detailer_prompt: str = '',
detailer_negative: str = '',
detailer_steps: int = 10,
detailer_strength: float = 0.3,
detailer_enabled: bool = False,
detailer_prompt: str = '',
detailer_negative: str = '',
detailer_steps: int = 10,
detailer_strength: float = 0.3,
# hdr corrections
hdr_mode: int = 0,
hdr_brightness: float = 0,
@@ -241,6 +241,8 @@ class StableDiffusionProcessing:
self.inpaint_full_res = inpaint_full_res != 0 if isinstance(inpaint_full_res, int) else self.inpaint_full_res
# null items initialized later
self.prompts = None
self.negative_prompts = None
self.all_prompts = None
self.all_negative_prompts = None
self.all_seeds = None