Ë
    ¢Ùbi+  ã                   ó€   — d dl mZ d dlmZmZmZ d dlZd dlZ	ddl
mZ e G d„ de«      «       Ze G d„ d	e«      «       Zy)
é    )Ú	dataclass)ÚListÚOptionalÚUnionNé   )Ú
BaseOutputc                   ó~   — e Zd ZU dZeeej                  j                     ej                  f   e
d<   eee      e
d<   y)ÚLEditsPPDiffusionPipelineOutputuð  
    Output class for LEdits++ Diffusion pipelines.

    Args:
        images (`List[PIL.Image.Image]` or `np.ndarray`)
            List of denoised PIL images of length `batch_size` or NumPy array of shape `(batch_size, height, width,
            num_channels)`.
        nsfw_content_detected (`List[bool]`)
            List indicating whether the corresponding generated image contains â€œnot-safe-for-workâ€ (nsfw) content or
            `None` if safety checking could not be performed.
    ÚimagesÚnsfw_content_detectedN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   ÚPILÚImageÚnpÚndarrayÚ__annotations__r   Úbool© ó    úh/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/diffusers/pipelines/ledits_pp/pipeline_output.pyr
   r
   
   s9   … ñ
ð $s—y‘y—‘Ñ'¨¯©Ð3Ñ4Ó4Ø# D¨¡JÑ/Ô/r   r
   c                   ó¾   — e Zd ZU dZeeej                  j                     ej                  f   e
d<   eeej                  j                     ej                  f   e
d<   y)ÚLEditsPPInversionPipelineOutputa0  
    Output class for LEdits++ Diffusion pipelines.

    Args:
        input_images (`List[PIL.Image.Image]` or `np.ndarray`)
            List of the cropped and resized input images as PIL images of length `batch_size` or NumPy array of shape `
            (batch_size, height, width, num_channels)`.
        vae_reconstruction_images (`List[PIL.Image.Image]` or `np.ndarray`)
            List of VAE reconstruction of all input images as PIL images of length `batch_size` or NumPy array of shape
            ` (batch_size, height, width, num_channels)`.
    r   Úvae_reconstruction_imagesN)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r      sK   … ñ
ð $s—y‘y—‘Ñ'¨¯©Ð3Ñ4Ó4Ø$ T¨#¯)©)¯/©/Ñ%:¸B¿J¹JÐ%FÑGÔGr   r   )Údataclassesr   Útypingr   r   r   Únumpyr   Ú	PIL.Imager   Úutilsr   r
   r   r   r   r   ú<module>r"      sP   ðÝ !ß (Ñ (ã Û å ð ô0 jó 0ó ð0ð" ôH jó Hó ñHr   