MCPcopy Index your code
hub / github.com/huggingface/diffusers / register_subcommand

Method register_subcommand

src/diffusers/commands/env.py:42–44  ·  view source on GitHub ↗
(parser: ArgumentParser)

Source from the content-addressed store, hash-verified

40class EnvironmentCommand(BaseDiffusersCLICommand):
41 @staticmethod
42 def register_subcommand(parser: ArgumentParser) -> None:
43 download_parser = parser.add_parser("env")
44 download_parser.set_defaults(func=info_command_factory)
45
46 def run(self) -> dict:
47 hub_version = huggingface_hub.__version__

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected