mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
fix detailer with lora
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user