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.41k stars 938 forks source link

Will remember previously used used huggingface model #736

Closed raivisdejus closed 5 months ago

raivisdejus commented 5 months ago

When using huggingface model custom model id is lost on subsequent uses, this makes it not too convenient to use. This PR will improve usability

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.34%. Comparing base (d483864) to head (cbf1293). Report is 2 commits behind head on main.

:exclamation: Current head cbf1293 differs from pull request most recent head dc9b44b. Consider uploading reports for the commit dc9b44b to get more accurate results

Files Patch % Lines
...dgets/transcriber/hugging_face_search_line_edit.py 77.77% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #736 +/- ## ========================================== - Coverage 81.97% 81.34% -0.64% ========================================== Files 83 81 -2 Lines 3840 3586 -254 ========================================== - Hits 3148 2917 -231 + Misses 692 669 -23 ``` | [Flag](https://app.codecov.io/gh/chidiwilliams/buzz/pull/736/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/736/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `?` | | | [Windows](https://app.codecov.io/gh/chidiwilliams/buzz/pull/736/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Chidi+Williams) | `81.34% <77.77%> (-0.02%)` | :arrow_down: | | [macOS](https://app.codecov.io/gh/chidiwilliams/buzz/pull/736/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.