
"""simple docstring"""
from ..utils import DummyObject, requires_backends






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: str  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Dict  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: List[Any]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Optional[int]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: List[Any]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Any  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Dict  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Union[str, Any]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: List[str]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Any  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Optional[Any]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Tuple  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )






class      _UpperCAmelCase				(					metaclass=__UpperCAmelCase):
    __lowercase							: Optional[int]  =					["""flax"""]
    def __init__(    self						,    *snake_case_						,    **snake_case_     ):
      requires_backends(self						,    ["flax"]     )
    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )


    @classmethod
    def 					lowerCamelCase__	(    cls						,    *snake_case_						,    **snake_case_     ):
      requires_backends(cls						,    ["flax"]     )








"""simple docstring"""
from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
    if not (is_transformers_available() and is_torch_available() and is_transformers_version(""">=""", """4.25.0""")):
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    from ...utils.dummy_torch_and_transformers_objects import UnCLIPImageVariationPipeline, UnCLIPPipeline
else:
    from .pipeline_unclip import UnCLIPPipeline
    from .pipeline_unclip_image_variation import UnCLIPImageVariationPipeline
    from .text_proj import UnCLIPTextProjModel

