Download source/scripts/stitch_mtp.py from khazic/spec-b300: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/khazic/spec-b300/resolve/main/source/scripts/stitch_mtp.py
- Command line
-
hf download hf://khazic/spec-b300/source/scripts/stitch_mtp.py
-
curl -L -o stitch_mtp.py https://huggingface.co/khazic/spec-b300/resolve/main/source/scripts/stitch_mtp.py
474 Bytes
| #!/usr/bin/env python3 | |
| """Backward-compatibility shim — use ``speculators stitch-mtp`` instead.""" | |
| import warnings | |
| import typer | |
| from speculators.cli.stitch import stitch_command | |
| warnings.warn( | |
| "scripts/stitch_mtp.py is deprecated and will be removed in v0.9.0. " | |
| "Use 'speculators stitch-mtp' instead.", | |
| DeprecationWarning, | |
| stacklevel=1, | |
| ) | |
| app = typer.Typer(rich_markup_mode="rich") | |
| app.command()(stitch_command) | |
| if __name__ == "__main__": | |
| app() | |