fix processing: init_images hasattr typo, empty-list guards, dead timer profile branch

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
QualiaRain
2026-06-12 05:08:03 -04:00
parent 1cf715fac2
commit 6f8d79313a
5 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -159,8 +159,8 @@ def task_specific_kwargs(p, model):
return task_args
task_args = {
'reference_image': p.init_images[0],
'source_subject_category': getattr(p, 'negative_prompt', '').split()[-1],
'target_subject_category': getattr(p, 'prompt', '').split()[-1],
'source_subject_category': (getattr(p, 'negative_prompt', '').split() or [''])[-1],
'target_subject_category': (getattr(p, 'prompt', '').split() or [''])[-1],
'output_type': 'pil',
}