Conversation
Corrected a logic error in the total calculation function causing inaccurate results. Added test cases to cover edge scenarios and ensure robustness.
Implements offline speech-to-text using `whisper-rs`, supporting model management and mode toggling between local and cloud transcription. Includes model downloads with progress indicators, customizable settings for language and model selection, modular design with lazy loading, and GPU acceleration support for Metal/Vulkan. Error handling ensures resilience during model operations.
Introduced an optional local transcription mode leveraging Whisper engine alongside existing cloud-based transcription. This includes Whisper model management (download, delete, and selection), audio resampling, and integration for model-based local inference. Updated UI components for seamless configuration.
- Fix whisper-rs-sys build on Windows: bundled bindings are Linux-only, causing struct size assertion failures. Add pre-generated Windows bindings and patch script (scripts/patch-whisper-bindings.js) that runs automatically via npm pretauri:dev/pretauri:build hooks. - Add silence detection (RMS threshold) to reject dead audio before Whisper inference, preventing hallucinations on silent input. - Enable suppress_blank and suppress_nst in Whisper params to filter hallucinated non-speech tokens (e.g. "Subtitles by Amara.org"). - Add per-crate opt-level=3 for whisper-rs-sys, whisper-rs, and rubato in dev profile to speed up inference during development. - Change default model from large-v3 to small for faster CPU inference. - Remove base model tier (unusable quality). - Upgrade whisper-rs from 0.14 to 0.16. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.