Skip to content

Commit

Permalink
livestream.sh : run main with model arg instead of default (ggerganov…
Browse files Browse the repository at this point in the history
…#453)

Actually utilizes the $model var when calling ./main.
  • Loading branch information
EricTendian committed Jan 26, 2023
1 parent 347f0ac commit 7a9da52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/livestream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ while [ $running -eq 1 ]; do
err=$(cat /tmp/whisper-live.err | wc -l)
done

./main -t 8 -m ./models/ggml-base.en.bin -f /tmp/whisper-live.wav --no-timestamps -otxt 2> /tmp/whispererr | tail -n 1
./main -t 8 -m ./models/ggml-${model}.bin -f /tmp/whisper-live.wav --no-timestamps -otxt 2> /tmp/whispererr | tail -n 1

while [ $SECONDS -lt $((($i+1)*$step_s)) ]; do
sleep 1
Expand Down

0 comments on commit 7a9da52

Please sign in to comment.