Spaces:
Running on Zero
Running on Zero
Download scripts/benchmark_transcription.py from avijit28/tunechecker-api: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/avijit28/tunechecker-api/resolve/main/scripts/benchmark_transcription.py
- Command line
-
hf download hf://spaces/avijit28/tunechecker-api/scripts/benchmark_transcription.py
-
curl -L -o benchmark_transcription.py https://huggingface.co/spaces/avijit28/tunechecker-api/resolve/main/scripts/benchmark_transcription.py
553 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Backwards-compatible delegating shim for TuneChecker Transcription Benchmark. | |
| Canonical implementation lives at `<repo_root>/scripts/benchmark_transcription.py`. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| REPO_ROOT = Path(__file__).resolve().parent.parent.parent | |
| SCRIPTS_DIR = REPO_ROOT / "scripts" | |
| if str(SCRIPTS_DIR) not in sys.path: | |
| sys.path.insert(0, str(SCRIPTS_DIR)) | |
| from benchmark_transcription import main # noqa: E402 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |