forked from mirrors/nixpkgs
openai-whisper-cpp: 1.0.4 -> 1.2.0
This commit is contained in:
parent
d6778203de
commit
b34c81ce68
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "whisper-cpp";
|
||||
version = "1.0.4";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "whisper.cpp";
|
||||
rev = version;
|
||||
sha256 = "sha256-lw+POI47bW66NlmMPJKAkqAYhOnyGaFqcS2cX5LRBbk=";
|
||||
rev = "refs/tags/v${version}" ;
|
||||
hash = "sha256-7/10t1yE7Gbs+cyj8I9vJoDeaxEz9Azc2j3f6QCjDGM=";
|
||||
};
|
||||
|
||||
# The upstream download script tries to download the models to the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh
|
||||
index cf54623..5e9c905 100755
|
||||
index 7075080..5e9c905 100755
|
||||
--- a/models/download-ggml-model.sh
|
||||
+++ b/models/download-ggml-model.sh
|
||||
@@ -9,18 +9,6 @@
|
||||
|
@ -16,7 +16,7 @@ index cf54623..5e9c905 100755
|
|||
- fi
|
||||
-}
|
||||
-
|
||||
-models_path=$(get_script_path)
|
||||
-models_path="$(get_script_path)"
|
||||
-
|
||||
# Whisper models
|
||||
models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large-v1" "large" )
|
||||
|
|
Loading…
Reference in a new issue