"""simple docstring"""







import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils


class      _lowercase						(				unittest.TestCase					):

				@patch("""diffusers.utils.hub_utils.get_full_repo_name"""       )
				def     A	(       self    :      Optional[int]    ,      _lowercase    :      Optional[Any]       ):


										'''simple docstring'''
										UpperCAmelCase__   		=						"full_repo_name"
										with TemporaryDirectory() as tmpdir:
																# Dummy args values
																UpperCAmelCase__   		=						Mock()
																UpperCAmelCase__   		=						tmpdir
																UpperCAmelCase__   		=						0
																UpperCAmelCase__   		=						"hub_token"
																UpperCAmelCase__   		=						"dataset_name"
																UpperCAmelCase__   		=						0.01
																UpperCAmelCase__   		=						1_0_0_0_0_0
																UpperCAmelCase__   		=						1_0_0_0_0
																UpperCAmelCase__   		=						0.01
																UpperCAmelCase__   		=						0.02
																UpperCAmelCase__   		=						0.03
																UpperCAmelCase__   		=						0.0005
																UpperCAmelCase__   		=						0.00_0001
																UpperCAmelCase__   		=						1
																UpperCAmelCase__   		=						1_0
																UpperCAmelCase__   		=						0.001
																UpperCAmelCase__   		=						0.1
																UpperCAmelCase__   		=						0.2
																UpperCAmelCase__   		=						True

																# Model card mush be rendered and saved
																diffusers.utils.hub_utils.create_model_card(UpperCamelCase__    ,      model_name="""model_name"""       )
																self.assertTrue((Path(UpperCamelCase__       ) / """README.md""").is_file()       )


"""simple docstring"""







def 					a__ (						UpperCAmelCase__    :     List[Any]     )->		Dict:
						UpperCAmelCase__   		=						[7_0_1, 3_0_1, 1_3_2, 5_7, 2_3, 1_0, 4, 1]
						for gap in gaps:
												for i in range(UpperCAmelCase__						,     len(UpperCAmelCase__     )     ):
																		UpperCAmelCase__   		=						collection[i]
																		UpperCAmelCase__   		=						i
																		while j >= gap and collection[j - gap] > insert_value:
																								UpperCAmelCase__   		=						collection[j - gap]
																								j -= gap
																		if j != i:
																								UpperCAmelCase__   		=						insert_value
						return collection


if __name__ == "__main__":
						from doctest import testmod

						testmod()
						UpperCamelCase_    :    Union[str, Any]											=						input("""Enter numbers separated by a comma:\n""").strip()
						UpperCamelCase_    :    int											=						[int(item) for item in user_input.split(""",""")]
						print(shell_sort(unsorted))

