



def 				_lowerCAmelCase      (_lowerCAmelCase):
					if not isinstance(_lowerCAmelCase				,		_lowerCAmelCase):
										raise ValueError("double_factorial() only accepts integral values")
					if n < 0:
										raise ValueError("double_factorial() not defined for negative values")
					return 1 if n <= 1 else n * double_factorial(n - 2)


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
