Unverified Commit 852f4bea authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #229756 from hughobrien/openai-whisper-cpp-v1.4.0

openai-whisper-cpp: 1.2.1 -> 1.4.0. add hughobrien as maintainer.
parents da3a4a8c 805a245f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
@@ -56,6 +56,6 @@ stdenv.mkDerivation rec {
    homepage = "https://github.com/ggerganov/whisper.cpp";
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ dit7ya ];
    maintainers = with maintainers; [ dit7ya hughobrien ];
  };
}
+3 −3
Original line number Diff line number Diff line
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"