pu_offload.  numpy_to_pil  < source > ( images  )    Convert a NumPy image or a batch of images to a PIL image.  save_pretrained  < source > ( save_directory: Union safe_serialization: bool = True variant: Optional = None push_to_hub: bool = False **kwargs  )   Parameters   save_directory (str or os.PathLike) —
Directory to save a pipeline to. Will be created if it doesn’t exist.   safe_serialization (bool, optional, defaults to True) —
Whether