fix detailer with lora

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-11-09 09:14:26 -05:00
parent 3a3c984411
commit c6593ac180
7 changed files with 33 additions and 22 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ def process_samples(p: StableDiffusionProcessing, samples):
if len(sample) > 0:
image = Image.fromarray(sample[0])
if len(sample) > 1:
annotated = Image.fromarray(sample[1])
annotated = sample[1] if isinstance(sample[1], Image.Image) else Image.fromarray(sample[1])
out_images.append(annotated)
out_infotexts.append("Detailer annotations")
elif sample is not None: