BREAKING FIX: Browser Whisper now fully self-contained Previous issue: - Loaded transformers.js from cdn.jsdelivr.net - Downloaded models from cdn-lfs.huggingface.co - Failed in corporate/clinical networks with firewall - Stuck at "Initializing..." with no progress Solution: - Bundle transformers.js library (~876KB) - Bundle Whisper tiny.en model (~42MB) - Serve everything from local server - Works in ANY network environment Changes: - whisperWorker.js: Load transformers from /models/ instead of CDN - Dockerfile: Download models during Docker build - Add download script for local dev - Add comprehensive setup documentation Docker image size: +~42MB (one-time cost, runtime benefit) Tested: Works on unrestricted and firewalled networks |
||
|---|---|---|
| .. | ||
| download-whisper-models.sh | ||