o
    ۷i                     @   sT   d dl mZ d dlZd dlZddlmZ eG dd deZeG dd deZ	dS )	    )	dataclassN   )
BaseOutputc                   @   s8   e Zd ZU dZeejj ejB e	d< ee
 dB e	d< dS )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.
    imagesNnsfw_content_detected)__name__
__module____qualname____doc__listPILImagenpndarray__annotations__bool r   r   c/home/ubuntu/vllm_env/lib/python3.10/site-packages/diffusers/pipelines/ledits_pp/pipeline_output.pyr   	   s   
 r   c                   @   s>   e Zd ZU dZeejj ejB e	d< eejj ejB e	d< dS )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      s   
 r   )
dataclassesr   numpyr   	PIL.Imager   utilsr   r   r   r   r   r   r   <module>   s    