


from ..utils import DummyObject, requires_backends



class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						Optional[int]      ,					*_UpperCAmelCase    :						int      ,					**_UpperCAmelCase    :						List[Any]		)						->   List[Any]:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						Dict      ,					*_UpperCAmelCase    :						Optional[Any]      ,					**_UpperCAmelCase    :						Optional[Any]		)						->   Any:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						List[Any]      ,					*_UpperCAmelCase    :						Optional[int]      ,					**_UpperCAmelCase    :						Optional[Any]		)						->   Any:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)






class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						Tuple      ,					*_UpperCAmelCase    :						Any      ,					**_UpperCAmelCase    :						Optional[Any]		)						->   List[Any]:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						Any      ,					*_UpperCAmelCase    :						List[Any]      ,					**_UpperCAmelCase    :						int		)						->   Tuple:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						Dict      ,					*_UpperCAmelCase    :						List[Any]      ,					**_UpperCAmelCase    :						Optional[Any]		)						->   Dict:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)






class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						Tuple      ,					*_UpperCAmelCase    :						Dict      ,					**_UpperCAmelCase    :						Dict		)						->   Optional[int]:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						List[str]      ,					*_UpperCAmelCase    :						Optional[Any]      ,					**_UpperCAmelCase    :						Tuple		)						->   List[Any]:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						List[Any]      ,					*_UpperCAmelCase    :						Tuple      ,					**_UpperCAmelCase    :						Union[str, Any]		)						->   Optional[int]:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)






class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						Optional[int]      ,					*_UpperCAmelCase    :						List[Any]      ,					**_UpperCAmelCase    :						List[Any]		)						->   Tuple:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						Dict      ,					*_UpperCAmelCase    :						Optional[Any]      ,					**_UpperCAmelCase    :						Optional[int]		)						->   Optional[int]:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						str      ,					*_UpperCAmelCase    :						Optional[Any]      ,					**_UpperCAmelCase    :						Union[str, Any]		)						->   List[Any]:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)






class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						Any      ,					*_UpperCAmelCase    :						Tuple      ,					**_UpperCAmelCase    :						List[Any]		)						->   List[str]:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						Dict      ,					*_UpperCAmelCase    :						int      ,					**_UpperCAmelCase    :						Union[str, Any]		)						->   Any:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						Dict      ,					*_UpperCAmelCase    :						List[Any]      ,					**_UpperCAmelCase    :						Union[str, Any]		)						->   int:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)






class 							A    (       metaclass=__lowercase							):
					'''simple docstring'''






					A__			= ["""torch""", """transformers""", """onnx"""]

					def __init__(self    :						int      ,					*_UpperCAmelCase    :						Union[str, Any]      ,					**_UpperCAmelCase    :						Dict		)						->   str:




							"""simple docstring"""


							requires_backends(self      ,					["""torch""", """transformers""", """onnx"""]		)

					@classmethod
					def   lowerCamelCase__     (cls    :						Tuple      ,					*_UpperCAmelCase    :						int      ,					**_UpperCAmelCase    :						List[Any]		)						->   str:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)


					@classmethod
					def   lowerCamelCase__     (cls    :						str      ,					*_UpperCAmelCase    :						Optional[Any]      ,					**_UpperCAmelCase    :						int		)						->   str:




							"""simple docstring"""


							requires_backends(cls      ,					["""torch""", """transformers""", """onnx"""]		)



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



