Skip to content

Commit

Permalink
Update whisper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Nov 16, 2023
1 parent 6820797 commit 18ed61e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else
endif

clean:
rm -f $(LIBWHISPER)
rm -f buzz/$(LIBWHISPER)
rm -f buzz/whisper_cpp.py
rm -rf dist/* || true

Expand Down
4 changes: 2 additions & 2 deletions buzz/model_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion whisper.cpp
Submodule whisper.cpp updated 192 files

0 comments on commit 18ed61e

Please sign in to comment.