from __future__ import annotations

from enum import Enum





class 					__snake_case    (     _lowerCamelCase      ):
					__lowerCamelCase			   =  24
					__lowerCamelCase			   =  21
					__lowerCamelCase			   =  18
					__lowerCamelCase			   =  15
					__lowerCamelCase			   =  12
					__lowerCamelCase			   =  9
					__lowerCamelCase			   =  6
					__lowerCamelCase			   =  3
					__lowerCamelCase			   =  2
					__lowerCamelCase			   =  1
					__lowerCamelCase			   =  -1
					__lowerCamelCase			   =  -2
					__lowerCamelCase			   =  -3
					__lowerCamelCase			   =  -6
					__lowerCamelCase			   =  -9
					__lowerCamelCase			   =  -12
					__lowerCamelCase			   =  -15
					__lowerCamelCase			   =  -18
					__lowerCamelCase			   =  -21
					__lowerCamelCase			   =  -24





class 					__snake_case    (     _lowerCamelCase      ):
					__lowerCamelCase			   =  8
					__lowerCamelCase			   =  7
					__lowerCamelCase			   =  6
					__lowerCamelCase			   =  5
					__lowerCamelCase			   =  4
					__lowerCamelCase			   =  3
					__lowerCamelCase			   =  2
					__lowerCamelCase			   =  1




def 					UpperCamelCase__		(							A__     ,					A__     ,					A__     ,					)  ->   float:
				if isinstance(A__     ,					A__       ):
								snake_case__   :      Union[str, Any]   				= SIUnit[known_prefix.lower()]
				if isinstance(A__     ,					A__       ):
								snake_case__   :      int   				= SIUnit[unknown_prefix.lower()]
				snake_case__   :      float   				= known_amount * (
				    10 ** (known_prefix.value - unknown_prefix.value)
				)
				return unknown_amount
def 					UpperCamelCase__		(							A__     ,					A__     ,					A__     ,					)  ->   float:
				if isinstance(A__     ,					A__       ):
								snake_case__   :      Union[str, Any]   				= BinaryUnit[known_prefix.lower()]
				if isinstance(A__     ,					A__       ):
								snake_case__   :      Union[str, Any]   				= BinaryUnit[unknown_prefix.lower()]
				snake_case__   :      float   				= known_amount * (
				    2 ** ((known_prefix.value - unknown_prefix.value) * 10)
				)
				return unknown_amount


if __name__ == "__main__":
				import doctest

				doctest.testmod()



from ...utils import is_transformers_available
from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline


if is_transformers_available():
				from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline


