chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
12.61k stars 948 forks source link

Adding Core ML support for WhisperCpp #976

Closed raivisdejus closed 2 weeks ago

raivisdejus commented 2 weeks ago

This also changes how models for Whisper.cpp are downloaded. After update of the app models will need to be re-downloaded if you have them already downloaded.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 89.50276% with 19 lines in your changes missing coverage. Please review.

Project coverage is 81.33%. Comparing base (ce3bfea) to head (3972d29). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
buzz/transcriber/whisper_cpp.py 87.38% 14 Missing :warning:
buzz/transcriber/recording_transcriber.py 62.50% 3 Missing :warning:
buzz/model_loader.py 93.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #976 +/- ## ========================================== + Coverage 81.17% 81.33% +0.15% ========================================== Files 86 86 Lines 4893 5019 +126 ========================================== + Hits 3972 4082 +110 - Misses 921 937 +16 ``` | [Flag](https://app.codecov.io/gh/chidiwilliams/buzz/pull/976/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/chidiwilliams/buzz/pull/976/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `80.33% <71.82%> (-0.48%)` | :arrow_down: | | [Windows](https://app.codecov.io/gh/chidiwilliams/buzz/pull/976/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `80.41% <70.19%> (-0.47%)` | :arrow_down: | | [macOS](https://app.codecov.io/gh/chidiwilliams/buzz/pull/976/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `81.15% <89.50%> (+0.15%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.