[docs]defmain(argv:ArgsType)->None:"""Main entry point for the model zoo."""assertlen(argv)>1,"Command must be specified: `list`"ifargv[1]=="list":fords,modelsinAVAILABLE_MODELS.items():print(ds)model_names=list(models.keys())formodelinmodel_names[:-1]:print(" ├─",model)print(" └─",model_names[-1])else:raiseValueError(f"Invalid command. {argv[1]}")
[docs]defentrypoint()->None:"""Entry point for the CLI."""app.run(main)