Files
Abolfazl Ranjbaran 9a2c2ba558 feat(demo): live Static Space — Whisper runs in the visitor's browser
HF's 2026 pricing gates Gradio/Docker Spaces behind PRO (create_repo came
back 402), so the demo ships as a free Static Space instead: transformers.js
runs Whisper ONNX q8 entirely client-side — RTL Persian UI, mic + file +
bundled benchmark sample clip, base/small selectable, nothing uploaded.

Verified end to end with a headless browser: it loaded the Space, fetched
the bundled Common Voice (fa) sample, downloaded the model and transcribed
the clip on-device (3.5 s clip in 5.0 s); screenshot embedded in the README.
One real bug found and fixed by that test: the sample path deadlocked on
the busy-guard before starting inference.

- space/: static demo (index.html/demo.js/worker.js) at the root; the
  Gradio app moves to space/gradio/ for self-hosting or PRO Spaces
- model card published to hf.co/Abol0pati/whisper-small-fa-sokhan with the
  measured numbers and honest caveats; demo paragraph updated to describe
  what actually runs where
- notebook: cell 10 now writes the model card only (a Colab-run Gradio
  Space would 402), new cell 11 uploads merged HF weights to unlock the
  ONNX/browser fine-tune path
- ROADMAP: v1.3 progress recorded with the pricing discovery; new item
  for pointing the browser demo at the fine-tuned ONNX
2026-11-18 13:02:49 +00:00
..