tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openai-whisper-cpp: 1.2.1 -> 1.4.0
Hugh O'Brien
2 years ago
136fd119
f4886293
+5
-5
2 changed files
expand all
collapse all
unified
split
pkgs
tools
audio
openai-whisper-cpp
default.nix
download-models.patch
+2
-2
pkgs/tools/audio/openai-whisper-cpp/default.nix
···
11
11
12
12
stdenv.mkDerivation rec {
13
13
pname = "whisper-cpp";
14
14
-
version = "1.2.1";
14
14
+
version = "1.4.0";
15
15
16
16
src = fetchFromGitHub {
17
17
owner = "ggerganov";
18
18
repo = "whisper.cpp";
19
19
rev = "refs/tags/v${version}" ;
20
20
-
hash = "sha256-gcw+tcrwCt2CynNXQZxb+WxN/0chIQIJnwUAw9JGkYA=";
20
20
+
hash = "sha256-176MpooVQrq1dXC62h8Yyyhw6IjCA50tp1J4DQPSePQ=";
21
21
};
22
22
23
23
# The upstream download script tries to download the models to the
+3
-3
pkgs/tools/audio/openai-whisper-cpp/download-models.patch
···
1
1
diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh
2
2
-
index 7075080..5e9c905 100755
2
2
+
index 749b409..831f4c0 100755
3
3
--- a/models/download-ggml-model.sh
4
4
+++ b/models/download-ggml-model.sh
5
5
@@ -9,18 +9,6 @@
6
6
-
src="https://huggingface.co/datasets/ggerganov/whisper.cpp"
6
6
+
src="https://huggingface.co/ggerganov/whisper.cpp"
7
7
pfx="resolve/main/ggml"
8
8
9
9
-# get the path of this script
10
10
-function get_script_path() {
11
11
- if [ -x "$(command -v realpath)" ]; then
12
12
-
- echo "$(dirname $(realpath $0))"
12
12
+
- echo "$(dirname "$(realpath "$0")")"
13
13
- else
14
14
- local ret="$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)"
15
15
- echo "$ret"