o
    pi+                     @   sh   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 deZeG dd	 d	eZdS )
    )	dataclass)ListOptionalUnionN   )
BaseOutputc                   @   s<   e Zd ZU dZeeejj ej	f e
d< eee  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.
    imagesnsfw_content_detectedN)__name__
__module____qualname____doc__r   r   PILImagenpndarray__annotations__r   bool r   r   k/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/diffusers/pipelines/ledits_pp/pipeline_output.pyr   
   s   
 r   c                   @   sF   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< 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   r      s   
 r   )dataclassesr   typingr   r   r   numpyr   	PIL.Imager   utilsr   r   r   r   r   r   r   <module>   s    