Download transcript_fix.py from Mrlongpro/autosubs: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/spaces/Mrlongpro/autosubs/resolve/main/transcript_fix.py
- Command line
-
hf download hf://spaces/Mrlongpro/autosubs/transcript_fix.py
-
curl -L -o transcript_fix.py https://huggingface.co/spaces/Mrlongpro/autosubs/resolve/main/transcript_fix.py
467 Bytes
| """Compatibility hook for deployments. | |
| The transcript implementation now lives entirely in core.py. This module is | |
| intentionally a no-op so older app.py imports remain compatible and no stale | |
| patch can reintroduce yt-dlp or overwrite the working transcript pipeline. | |
| """ | |
| from pathlib import Path | |
| CORE = Path("core.py") | |
| src = CORE.read_text(encoding="utf-8") | |
| compile(src, str(CORE), "exec") | |
| print("[transcript_fix] core.py syntax-checked; no runtime patch applied") | |