(parser: ArgumentParser)
| 29 | class 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__ |