#!/bin/bash src="https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml" cd "$(dirname "$(realpath "$BASH_SOURCE")")" # Whisper models for model in "tiny.en" "base.en" "small.en" "medium.en"; do test -f ./ggml-$model.bin || wget --quiet --show-progress -O ./ggml-$model.bin "$src-$model.bin" done