add detailer

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-10-07 09:32:56 -04:00
parent 04a5071249
commit 3bbcc33181
28 changed files with 396 additions and 313 deletions
+2 -2
View File
@@ -123,8 +123,8 @@ def create_infotext(p: StableDiffusionProcessing, all_prompts=None, all_seeds=No
args['Size mode mask'] = p.resize_mode_mask
args['Size scale mask'] = p.scale_by_mask
args['Size name mask'] = p.resize_name_mask
if 'face' in p.ops:
args["Face restoration"] = shared.opts.detailer_model
if 'detailer' in p.ops:
args["Detailer"] = ', '.join(shared.opts.detailer_models)
if 'color' in p.ops:
args["Color correction"] = True
# embeddings