





"""simple docstring"""




from dataclasses import dataclass
from enum import Enum
from typing import List, Optional, Union

import numpy as np
import PIL
from PIL import Image

from ...utils import BaseOutput, is_torch_available, is_transformers_available




@dataclass
class 			_a						(				_lowerCAmelCase    ):
				UpperCamelCase								=   42
				UpperCamelCase								=   42


if is_transformers_available() and is_torch_available():
						from .pipeline_semantic_stable_diffusion import SemanticStableDiffusionPipeline










"""simple docstring"""




from functools import lru_cache





@lru_cache
def 	a_    (							_lowercase       ):
						if num < 0:
												raise ValueError('''Number should not be negative.'''       )

						return 1 if num in (0, 1) else num * factorial(num - 1       )


if __name__ == "__main__":
						import doctest

						doctest.testmod()



