"""simple docstring"""






def 						SCREAMING_SNAKE_CASE					(  __UpperCAmelCase  ,					__UpperCAmelCase       )							->   str:

				if not (isinstance(__UpperCAmelCase  ,					__UpperCAmelCase       ) and isinstance(__UpperCAmelCase  ,					__UpperCAmelCase       )):
								raise ValueError("longest_common_substring() takes two strings for inputs"       )

				SCREAMING_SNAKE_CASE__		  =				len(__UpperCAmelCase       )
				SCREAMING_SNAKE_CASE__		  =				len(__UpperCAmelCase       )

				SCREAMING_SNAKE_CASE__		  =				[[0] * (texta_length + 1) for _ in range(texta_length + 1       )]
				SCREAMING_SNAKE_CASE__		  =				0
				SCREAMING_SNAKE_CASE__		  =				0

				for i in range(1  ,					texta_length + 1       ):
								for j in range(1  ,					texta_length + 1       ):
												if texta[i - 1] == texta[j - 1]:
																SCREAMING_SNAKE_CASE__		  =				1 + dp[i - 1][j - 1]
																if dp[i][j] > ans_length:
																				SCREAMING_SNAKE_CASE__		  =				i
																				SCREAMING_SNAKE_CASE__		  =				dp[i][j]

				return texta[ans_index - ans_length : ans_index]


if __name__ == "__main__":
						import doctest

						doctest.testmod()





"""simple docstring"""






import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


_A   					=    HUGGINGFACE_HUB_CACHE


_A   					=    'config.json'
_A   					=    'diffusion_pytorch_model.bin'
_A   					=    'diffusion_flax_model.msgpack'
_A   					=    'model.onnx'
_A   					=    'diffusion_pytorch_model.safetensors'
_A   					=    'weights.pb'
_A   					=    'https://huggingface.co'
_A   					=    default_cache_path
_A   					=    'diffusers_modules'
_A   					=    os.getenv('HF_MODULES_CACHE', os.path.join(hf_cache_home, 'modules'))
_A   					=    ['fp16', 'non-ema']
_A   					=    '.self_attn'




