From 269eae883bf62182dc4a9deaa5342b6271ed3482 Mon Sep 17 00:00:00 2001 From: Haoming Date: Tue, 20 Jan 2026 20:43:00 +0800 Subject: [PATCH] pil --- modules/processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing.py b/modules/processing.py index 990d7663..b64fee54 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -1181,7 +1181,7 @@ def process_extra_images(processed: Processed): for img in processed.extra_images: if isinstance(img, np.ndarray): img = Image.fromarray(img) - if not Image.isImageType(img): + if not isinstance(img, Image.Image): continue extra_images.append(img) processed.extra_images = extra_images