





import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


UpperCAmelCase	:	Tuple		     =       HUGGINGFACE_HUB_CACHE


UpperCAmelCase	:	Union[str, Any]		     =       """config.json"""
UpperCAmelCase	:	Union[str, Any]		     =       """diffusion_pytorch_model.bin"""
UpperCAmelCase	:	Optional[Any]		     =       """diffusion_flax_model.msgpack"""
UpperCAmelCase	:	Optional[int]		     =       """model.onnx"""
UpperCAmelCase	:	int		     =       """diffusion_pytorch_model.safetensors"""
UpperCAmelCase	:	List[Any]		     =       """weights.pb"""
UpperCAmelCase	:	Optional[int]		     =       """https://huggingface.co"""
UpperCAmelCase	:	str		     =       default_cache_path
UpperCAmelCase	:	str		     =       """diffusers_modules"""
UpperCAmelCase	:	int		     =       os.getenv("""HF_MODULES_CACHE""", os.path.join(hf_cache_home, """modules"""))
UpperCAmelCase	:	Dict		     =       ["""fp16""", """non-ema"""]
UpperCAmelCase	:	List[str]		     =       """.self_attn"""













from ..utils import DummyObject, requires_backends




class     SCREAMING_SNAKE_CASE__ (						metaclass=UpperCamelCase__      ):
 __SCREAMING_SNAKE_CASE							       =	['''keras_nlp''']



 def __init__(							self,*__lowerCamelCase,**__lowerCamelCase ):
        requires_backends(self,['''keras_nlp'''] )





