Spaces:
Running
Running
Commit History
-
Re-add progress bar functionality for model downloads
- Added progress callback to fromHub in worker.js - Progress tracking with initiate/progress/done messages - UI already has Progress component from earlier work - Note: Progress bars work locally but may not work on HF Spaces (investigating parakeet.js compatibility issue) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>c54543a -
Add diagnostic logging to debug HF Spaces model loading
- Added console.log statements in worker.js to track fromHub execution - This will help diagnose why model loading is silent on HF Spaces - Locally shows [Hub] logs but HF Space shows nothing Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>f4b9755 -
Remove progress bar functionality and clean up debug logging
7438c56 -
Reduce timeout to 30s and add detailed CORS error message
ed2dc69 -
Add periodic progress check and reduce timeout to 60s for faster debugging
77ab1d4 -
Add IndexedDB logging and timeout detection for hung model loading
e4481a7 -
Add fetch interceptor to debug model download issues
82b8d7b -
Add debug logging to track model loading progress
cf635c3 -
Fix progress bar display and correct model size to 2.5GB
- Convert parakeet.js progress format to UI-expected format - Send initiate/progress/done messages for progress bars - Track seen files to avoid duplicate initiate messages - Update model size from 2.1GB to 2.5GB (encoder is 2.3GB alone) - Progress bars now show download status correctly Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>2f7b75b -
Add download progress bar for model loading
- Create Progress component showing file download progress - Track initiate/progress/done messages from parakeet.js - Display progress bars with file name, percentage, and total size - Forward progress callback from fromHub to main thread - Show download status during model loading phase Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>86a84fc
-
Optimize performance with webgpu-hybrid and fix RTF display
- Use webgpu-hybrid backend (FP32 encoder on WebGPU + INT8 decoder on WASM) - Achieve RTF 25x+ (1.8x faster than parakeet.js demo) - Fix RTF calculation to show speed factor (higher is better) - Extend progressive streaming window to 15 seconds - Update UI: rename 'Audio Duration' to 'Window Size', remove 'Update Rate' - Performance: ~230ms for 5.8s audio (vs 411ms in demo) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>ea6aed8 -
Add cross-origin headers and optimize progressive streaming
- Add _headers file with COEP/COOP for WebGPU support on HF Spaces - Implement simple amplitude-based VAD to skip transcription during silence - Reduce max window size from 15s to 5s for faster processing - Add word-level fallback when no sentence boundaries detected - Remove excessive debug logging for cleaner console output Fixes model loading hang on deployed Space due to missing cross-origin headers. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>e74c555 -
Add microphone selector, audio level meter, and fix Chrome compatibility
- Add microphone device selector with auto-selection of default device - Add real-time audio level meter during recording - Fix stack overflow error in worker.js for large audio buffers - Reorganize UI to combine controls in one panel - Disable echo cancellation/noise suppression for Chrome compatibility - Add audio resampling from native rate to 16kHz - Include microphone test page for debugging Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>5151e54 -
Restructure for HuggingFace Space compatibility
- Move built files (index.html, assets/) to root for demo to work - Move source code to source/ folder for visibility - Clean file organization: demo works + source is browsable Structure: - Root: index.html, assets/ (working demo) - source/: all source code, configs, docs - README.md: Space documentation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>0f739b8