o
    Gio                     @   sd  d dl mZ ddlmZmZmZmZmZmZm	Z	 i Z
i Zze	 r#e s&e W n ey=   ddlmZ e
ee Y nw dged< dged< esLerze	 rSe sVe W n eyd   dd	lT Y nw d
dlmZ d
dlmZ ze	 rxe s{e W dS  ey   dd	lT Y dS w d dlZeee d eedeje< e
 D ]\ZZeeje ee qdS )    )TYPE_CHECKING   )DIFFUSERS_SLOW_IMPORTOptionalDependencyNotAvailable_LazyModuleget_objects_from_moduleis_flax_availableis_torch_availableis_transformers_available)$dummy_torch_and_transformers_objects"StableDiffusion3ControlNetPipeline&pipeline_stable_diffusion_3_controlnet,StableDiffusion3ControlNetInpaintingPipeline1pipeline_stable_diffusion_3_controlnet_inpainting)*   )r   )r   N__file__)module_spec)typingr   utilsr   r   r   r   r   r	   r
   _dummy_objects_import_structurer   update*utils.dummy_torch_and_transformers_objectsr   r   r   r   )utils.dummy_flax_and_transformers_objectssys__name__globals__spec__modulesitemsnamevaluesetattr r$   r$   _/home/ubuntu/.local/lib/python3.10/site-packages/diffusers/pipelines/controlnet_sd3/__init__.py<module>   sT    $
