matthiasn / lotti

Achieve your goals and keep your data private with Lotti. This life tracking app is designed to help you stay motivated and on track, all while keeping your personal information safe and secure. Now with on-device speech recognition.
GNU General Public License v3.0
501 stars 52 forks source link

fix: improve Whisper error handling #1843

Closed matthiasn closed 3 weeks ago

matthiasn commented 3 weeks ago

This pull request includes significant changes to the WhisperKitRunner file and its integration across different platforms, along with a version update in the pubspec.yaml file. The most important changes include unloading existing models before loading new models, renaming and relocating the WhisperKitRunner.swift file, updating its import statements and method implementations, and adjusting the project files to reflect these changes.

File Renaming and Relocation:

Code Enhancements in WhisperKitRunner:

Project File Updates:

Version Update:

Removed Redundant File: