openai-whisper-cpp: 1.2.1 -> 1.4.0
This commit is contained in:
parent
f488629347
commit
136fd119a8
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "whisper-cpp";
|
||||
version = "1.2.1";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "whisper.cpp";
|
||||
rev = "refs/tags/v${version}" ;
|
||||
hash = "sha256-gcw+tcrwCt2CynNXQZxb+WxN/0chIQIJnwUAw9JGkYA=";
|
||||
hash = "sha256-176MpooVQrq1dXC62h8Yyyhw6IjCA50tp1J4DQPSePQ=";
|
||||
};
|
||||
|
||||
# The upstream download script tries to download the models to the
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh
|
||||
index 7075080..5e9c905 100755
|
||||
index 749b409..831f4c0 100755
|
||||
--- a/models/download-ggml-model.sh
|
||||
+++ b/models/download-ggml-model.sh
|
||||
@@ -9,18 +9,6 @@
|
||||
src="https://huggingface.co/datasets/ggerganov/whisper.cpp"
|
||||
src="https://huggingface.co/ggerganov/whisper.cpp"
|
||||
pfx="resolve/main/ggml"
|
||||
|
||||
-# get the path of this script
|
||||
-function get_script_path() {
|
||||
- if [ -x "$(command -v realpath)" ]; then
|
||||
- echo "$(dirname $(realpath $0))"
|
||||
- echo "$(dirname "$(realpath "$0")")"
|
||||
- else
|
||||
- local ret="$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)"
|
||||
- echo "$ret"
|
||||
|
|
Loading…
Reference in a new issue