



SCREAMING_SNAKE_CASE_:Optional[Any]					=						"""
# Transformers installation
! pip install transformers datasets
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/transformers.git
"""

SCREAMING_SNAKE_CASE_:Optional[Any]					=						[{"""type""": """code""", """content""": INSTALL_CONTENT}]
SCREAMING_SNAKE_CASE_:List[str]					=						{
    """{processor_class}""": """FakeProcessorClass""",
    """{model_class}""": """FakeModelClass""",
    """{object_class}""": """FakeObjectClass""",
}







from argparse import ArgumentParser

from .env import EnvironmentCommand




def      __UpperCamelCase     (  )	->  Dict:



    """simple docstring"""






    A			:	str										=       ArgumentParser("""Diffusers CLI tool"""				,					usage="""diffusers-cli <command> [<args>]"""		)
    A			:	int										=       parser.add_subparsers(help="""diffusers-cli command helpers"""		)

    # Register commands
    EnvironmentCommand.register_subcommand(_lowerCAmelCase		)

    # Let's go
    A			:	str										=       parser.parse_args()

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

    # Run
    A			:	Any										=       args.func(_lowerCAmelCase		)
    service.run()


if __name__ == "__main__":
     main()


