




from argparse import ArgumentParser

from .add_new_model import AddNewModelCommand
from .add_new_model_like import AddNewModelLikeCommand
from .convert import ConvertCommand
from .download import DownloadCommand
from .env import EnvironmentCommand
from .lfs import LfsCommands
from .pt_to_tf import PTtoTFCommand
from .run import RunCommand
from .serving import ServeCommand
from .user import UserCommands

def 			a   ():
							SCREAMING_SNAKE_CASE_   	=    ArgumentParser('''Transformers CLI tool'''  ,    usage='''transformers-cli <command> [<args>]'''     )
							SCREAMING_SNAKE_CASE_   	=    parser.add_subparsers(help='''transformers-cli command helpers'''     )

							# Register commands
							ConvertCommand.register_subcommand(_lowerCAmelCase     )
							DownloadCommand.register_subcommand(_lowerCAmelCase     )
							EnvironmentCommand.register_subcommand(_lowerCAmelCase     )
							RunCommand.register_subcommand(_lowerCAmelCase     )
							ServeCommand.register_subcommand(_lowerCAmelCase     )
							UserCommands.register_subcommand(_lowerCAmelCase     )
							AddNewModelCommand.register_subcommand(_lowerCAmelCase     )
							AddNewModelLikeCommand.register_subcommand(_lowerCAmelCase     )
							LfsCommands.register_subcommand(_lowerCAmelCase     )
							PTtoTFCommand.register_subcommand(_lowerCAmelCase     )

							# Let's go
							SCREAMING_SNAKE_CASE_   	=    parser.parse_args()

							if not hasattr(_lowerCAmelCase  ,    '''func'''     ):
														parser.print_help()
														exit(1     )

							# Run
							SCREAMING_SNAKE_CASE_   	=    args.func(_lowerCAmelCase     )
							service.run()


if __name__ == "__main__":
			main()








def 			a   (_lowerCAmelCase     ):
							SCREAMING_SNAKE_CASE_	,	SCREAMING_SNAKE_CASE_   	=    [], []
							while len(_lowerCAmelCase     ) > 1:
														SCREAMING_SNAKE_CASE_	,	SCREAMING_SNAKE_CASE_   	=    min(_lowerCAmelCase     ), max(_lowerCAmelCase     )
														start.append(_lowerCAmelCase     )
														end.append(_lowerCAmelCase     )
														collection.remove(_lowerCAmelCase     )
														collection.remove(_lowerCAmelCase     )
							end.reverse()
							return start + collection + end


if __name__ == "__main__":
			__SCREAMING_SNAKE_CASE 						=input("""Enter numbers separated by a comma:\n""").strip()
			__SCREAMING_SNAKE_CASE 						=[int(item) for item in user_input.split(""",""")]
			print(*merge_sort(unsorted), sep=""",""")


