mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
pil
This commit is contained in:
parent
df871e1e62
commit
269eae883b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user