Downloads · 30 days
0
lifengmds/videodub-whisperx
videodub-whisperx is a machine learning model from lifengmds. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
FastAPI wrapper for WhisperX transcription/alignment used by the local VideoDub VideoLingo adapter.
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py6.2 KB · 40%
From the Hugging Face model README
FastAPI wrapper for WhisperX transcription/alignment used by the local VideoDub VideoLingo adapter.
Endpoints:
GET /healthPOST /whisperx with multipart field audio_input plus optional form fields
language, model, and alignPOST /align with multipart field audio_input, required segments_json,
and optional language (default zh). This aligns a known transcript without
loading or rerunning the Whisper transcription model.After changing this Space, redeploy hf_asr_space/ before using
videodub run --spoken-alignment whisperx. --spoken-alignment auto remains
usable during rollout because it falls back to proportional timing when an old
Space returns 404 for /align.
export HF_TOKEN=hf_xxx
hf upload lifengmds/videodub-whisperx hf_asr_space . \
--repo-type space \
--commit-message "Add transcript forced-alignment endpoint"
Set HF_TOKEN as a Space secret when private or gated Hugging Face models are
needed.