Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/yt-wsp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# git clone https://github.com/ggml-org/whisper.cpp
# cd whisper.cpp
# make
# ./examples/yt-wsp.sh https://www.youtube.com/watch?v=1234567890
# ./examples/yt-wsp.sh https://www.youtube.com/watch?v=1234567890 <model>
#

set -Eeuo pipefail
Expand All @@ -49,7 +49,7 @@ SCRIPT_DIR="${SCRIPT_PATH%/*}"
# note: unless a multilingual model is specified, WHISPER_LANG will be ignored
# and the video will be transcribed as if the audio were in the English language
################################################################################
MODEL_PATH="${MODEL_PATH:-${SCRIPT_DIR}/../models/ggml-base.en.bin}"
MODEL_PATH="${MODEL_PATH:-${SCRIPT_DIR}/../models/$2}"

################################################################################
# Where to find the whisper.cpp executable. default to the examples directory
Expand Down