
    biy                     `    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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<   eee      e
d<   y)IFPipelineOutputa   
    Output class for Stable 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)`. PIL images or numpy array present the denoised images of the diffusion pipeline.
        nsfw_detected (`List[bool]`):
            List of flags denoting whether the corresponding generated image likely represents "not-safe-for-work"
            (nsfw) content or a watermark. `None` if safety checking could not be performed.
        watermark_detected (`List[bool]`):
            List of flags denoting whether the corresponding generated image likely has a watermark. `None` if safety
            checking could not be performed.
    imagesnsfw_detectedwatermark_detectedN)__name__
__module____qualname____doc__r   r   PILImagenpndarray__annotations__r   bool     k/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/diffusers/pipelines/deepfloyd_if/pipeline_output.pyr
   r
   
   sH     $syy'344DJ'' d,,r   r
   )dataclassesr   typingr   r   r   numpyr   	PIL.Imager   utilsr   r
   r   r   r   <module>r       s2    ! ( (    -z - -r   