From 18ed61eec81f932904b3f14273b94ff259cd9997 Mon Sep 17 00:00:00 2001 From: Chidi Williams Date: Thu, 16 Nov 2023 08:13:34 +0000 Subject: [PATCH] Update whisper.cpp --- Makefile | 2 +- buzz/model_loader.py | 4 ++-- whisper.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ed4acd333..cc69c51a8 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ else endif clean: - rm -f $(LIBWHISPER) + rm -f buzz/$(LIBWHISPER) rm -f buzz/whisper_cpp.py rm -rf dist/* || true diff --git a/buzz/model_loader.py b/buzz/model_loader.py index 6f7b47226..cb2008361 100644 --- a/buzz/model_loader.py +++ b/buzz/model_loader.py @@ -110,12 +110,12 @@ def get_local_model_path(self) -> Optional[str]: "base": "60ed5bc3dd14eea856493d334349b405782ddcaf0028d4b5df4088345fba2efe", "small": "1be3a9b2063867b937e64e2ec7483364a79917e157fa98c5d94b5c1fffea987b", "medium": "6c14d5adee5f86394037b4e4e8b59f1673b6cee10e3cf0b11bbdbee79c156208", - "large": "9a423fe4d40c82774b6af34115b8b935f34152246eb19e80e376071d3f999487", + "large": "64d182b440b98d5203c4f9bd541544d84c605196c4f7b845dfa11fb23594d1e2", } def get_hugging_face_file_url(author: str, repository_name: str, filename: str): - return f"https://huggingface.co/{author}/{repository_name}/resolve/main/{filename}" + return f"https://huggingface.co/{author}/{repository_name}/resolve/bf8b606c2fcd9173605cdf6bd2ac8a75a8141b6c/{filename}" def get_whisper_cpp_file_path(size: WhisperModelSize) -> str: diff --git a/whisper.cpp b/whisper.cpp index 21e8c67a4..d4231649e 160000 --- a/whisper.cpp +++ b/whisper.cpp @@ -1 +1 @@ -Subproject commit 21e8c67a4fb6bfc5f1af2a6c00db97b28a0f15b2 +Subproject commit d4231649e62d274fee9c6938cd8badae31627e4e