'''simple docstring'''




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 	UpperCamelCase_							(					)    ->    Union[str, Any]:


       """simple docstring"""







       _UpperCAmelCase     :  Union[str, Any]							      =    ArgumentParser("Transformers CLI tool"			,	usage="transformers-cli <command> [<args>]"    )
       _UpperCAmelCase     :  List[str]							      =    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
       _UpperCAmelCase     :  Union[str, Any]							      =    parser.parse_args()

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

       # Run
       _UpperCAmelCase     :  List[Any]							      =    args.func(_UpperCAmelCase    )
       service.run()


if __name__ == "__main__":
  main()


'''simple docstring'''




__SCREAMING_SNAKE_CASE       :     Dict     =  8.3_1_4_4_6_2  # Unit - J mol-1 K-1

def 	UpperCamelCase_							(					_UpperCAmelCase  :      float			,	_UpperCAmelCase  :      float			,	_UpperCAmelCase  :      float    )    ->    float:


       """simple docstring"""







       if moles < 0 or kelvin < 0 or volume < 0:
              raise ValueError("Invalid inputs. Enter positive value."    )
       return moles * kelvin * UNIVERSAL_GAS_CONSTANT / volume

def 	UpperCamelCase_							(					_UpperCAmelCase  :      float			,	_UpperCAmelCase  :      float			,	_UpperCAmelCase  :      float    )    ->    float:


       """simple docstring"""







       if moles < 0 or kelvin < 0 or pressure < 0:
              raise ValueError("Invalid inputs. Enter positive value."    )
       return moles * kelvin * UNIVERSAL_GAS_CONSTANT / pressure


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

  testmod()

