chidiwilliams / buzz

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

Limit Huggingface model download size #754

Closed raivisdejus closed 3 months ago

raivisdejus commented 3 months ago

Often models on the Huggingface hub under the same model name are in multiple formats, so people can download them for different engines. Each supported format will hold a copy of the model in its format. For larger models this can easily add up to multiple GBs.

This PR will specify files to download for use with Transformers whisper, so only the necessary files are downloaded and not the whole model on the hub.

This PR also includes fix for macOS build from https://github.com/chidiwilliams/buzz/pull/751