diff --git a/src/diffusers/image_processor.py b/src/diffusers/image_processor.py index a515805fd0871..ab96384fe9f1a 100644 --- a/src/diffusers/image_processor.py +++ b/src/diffusers/image_processor.py @@ -88,7 +88,7 @@ def __init__( self.config.do_convert_rgb = False @staticmethod - def numpy_to_pil(images: np.ndarray) -> PIL.Image.Image: + def numpy_to_pil(images: np.ndarray) -> List[PIL.Image.Image]: """ Convert a numpy image or a batch of images to a PIL image. """