fix skip processing

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-07-19 10:52:55 +02:00
parent 5d989a6cc6
commit bed5a51f8b
3 changed files with 23 additions and 15 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def fix_prompt_batch(p, prompts, negative_prompts, prompts_2, negative_prompts_2
if type(negative_prompts) is str:
negative_prompts = [negative_prompts]
if hasattr(p, 'init_images') and p.init_images is not None and len(p.init_images) > 1:
if hasattr(p, 'init_images') and (p.init_images is not None) and (len(p.init_images) > 1) and not getattr(p, 'skip_processing', False):
while len(prompts) < len(p.init_images):
prompts.append(prompts[-1] if prompts else '')
while len(negative_prompts) < len(p.init_images):