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.65k stars 948 forks source link

Switching to pywhispercpp #858

Closed raivisdejus closed 3 months ago

raivisdejus commented 4 months ago

https://github.com/abdeladim-s/pywhispercpp is building wheels for many architectures so by using them we should avoid many build whisper.cpp related errors where on different systems the whisper library files can't be loaded

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 85.96491% with 16 lines in your changes missing coverage. Please review.

Project coverage is 81.78%. Comparing base (490aa7f) to head (85f777d).

Files Patch % Lines
buzz/transcriber/whisper_cpp_file_transcriber.py 86.95% 9 Missing :warning:
buzz/transcriber/whisper_cpp.py 85.71% 5 Missing :warning:
buzz/model_loader.py 50.00% 1 Missing :warning:
buzz/transcriber/recording_transcriber.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #858 +/- ## ========================================== - Coverage 82.61% 81.78% -0.83% ========================================== Files 85 85 Lines 4561 4612 +51 ========================================== + Hits 3768 3772 +4 - Misses 793 840 +47 ``` | [Flag](https://app.codecov.io/gh/chidiwilliams/buzz/pull/858/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/858/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `81.78% <85.96%> (-0.04%)` | :arrow_down: | | [macOS](https://app.codecov.io/gh/chidiwilliams/buzz/pull/858/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `?` | | 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.

raivisdejus commented 3 months ago

Whisper DLLs still fail. Can try again if pywhispercpp gets some update