From 7c9a091236a8a7eefa99d526450ccfe2154b7792 Mon Sep 17 00:00:00 2001 From: Kendrick Taylor Date: Fri, 12 Apr 2024 14:46:42 -0700 Subject: [PATCH] fix missing reference to "model" variable in actual shell command run --- examples/whisper.nvim/whisper.nvim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/whisper.nvim/whisper.nvim b/examples/whisper.nvim/whisper.nvim index 203eddb5c88..f21099d4030 100755 --- a/examples/whisper.nvim/whisper.nvim +++ b/examples/whisper.nvim/whisper.nvim @@ -45,6 +45,6 @@ if [ ! -f ./models/ggml-${model}.bin ] ; then fi # fine-tune the parameters according to your machine specs -./stream -t 8 -m models/ggml-base.en.bin --step 350 --length 10000 -f /tmp/whisper.nvim 2> /dev/null +./stream -t 8 -m models/ggml-${model}.bin --step 350 --length 10000 -f /tmp/whisper.nvim 2> /dev/null exit 0