Spaces:
Runtime error
Runtime error
Download competitions/cli/create.py from XDimLab/ICCV2025-RealADSim-ClosedLoop: direct link, hf CLI and curl.
- Browser
- Download file 583 Bytes
-
https://huggingface.co/spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/resolve/main/competitions/cli/create.py
- Command line
-
hf download hf://spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/competitions/cli/create.py
-
curl -L -o create.py https://huggingface.co/spaces/XDimLab/ICCV2025-RealADSim-ClosedLoop/resolve/main/competitions/cli/create.py
583 Bytes
| from argparse import ArgumentParser | |
| from . import BaseCompetitionsCommand | |
| def create_command_factory(args): | |
| return CreateCompetitionAppCommand() | |
| class CreateCompetitionAppCommand(BaseCompetitionsCommand): | |
| def register_subcommand(parser: ArgumentParser): | |
| create_project_parser = parser.add_parser("create", description="✨ Start UI to create a new competition") | |
| create_project_parser.set_defaults(func=create_command_factory) | |
| def run(self): | |
| from competitions.create import main | |
| demo = main() | |
| demo.launch() | |