


import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


UpperCAmelCase_   :				List[str]						      = HUGGINGFACE_HUB_CACHE


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






def  SCREAMING_SNAKE_CASE_		(    __A				:    int						,					__A				:    int						,					__A				:    int       )			->	float:

       """simple docstring"""

       a_      :	Optional[int]							=						(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
       # formula for sum of series
       return total







def  SCREAMING_SNAKE_CASE_		(    )			->	Optional[Any]:

       """simple docstring"""

       print(sum_of_series(1						,					1						,					10       )       )


if __name__ == "__main__":
   import doctest

   doctest.testmod()


