

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    __lowerCamelCase      (					):







							'''simple docstring'''






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

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

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

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

							# Run
							snake_case_     							=       args.func(UpperCamelCase__ )
							service.run()


if __name__ == "__main__":
					main()







_UpperCAmelCase						:  Any									=			6_5521





def    __lowerCamelCase      (					UpperCamelCase__ ):







							'''simple docstring'''






							snake_case_     							=       1
							snake_case_     							=       0
							for plain_chr in plain_text:
														snake_case_     							=       (a + ord(UpperCamelCase__ )) % MOD_ADLER
														snake_case_     							=       (b + a) % MOD_ADLER
							return (b << 16) | a




