From 5c554c04fff68feb83392fe275a6ddf31b469c16 Mon Sep 17 00:00:00 2001
From: Kendrick Taylor <kendrick@circuitsix.com>
Date: Mon, 15 Apr 2024 09:41:28 -0700
Subject: [PATCH] whisper.nvim : fix missing reference to "model" variable
 (#2049)

---
 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 203eddb5..f21099d4 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