MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / register_subcommand

Method register_subcommand

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

Source from the content-addressed store, hash-verified

29class EnvironmentCommand(BaseDiffusersCLICommand):
30 @staticmethod
31 def register_subcommand(parser: ArgumentParser):
32 download_parser = parser.add_parser("env")
33 download_parser.set_defaults(func=info_command_factory)
34
35 def run(self):
36 hub_version = huggingface_hub.__version__

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected