add latent history

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-10-08 09:23:16 -04:00
parent a3a177277a
commit 2e08a26d53
13 changed files with 145 additions and 65 deletions
+4 -1
View File
@@ -49,7 +49,10 @@ def task_specific_kwargs(p, model):
elif (sd_models.get_diffusers_task(model) == sd_models.DiffusersTaskType.INPAINTING or is_img2img_model) and len(getattr(p, 'init_images', [])) > 0:
if shared.sd_model_type == 'sdxl':
model.register_to_config(requires_aesthetics_score = False)
p.ops.append('inpaint')
if p.detailer:
p.ops.append('detailer')
else:
p.ops.append('inpaint')
width, height = processing_helpers.resize_init_images(p)
task_args = {
'image': p.init_images,