summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 78db940..1490074 100644
--- a/Makefile
+++ b/Makefile
@@ -143,11 +143,10 @@ build-whisper: ## Build whisper.cpp from source in batteries directory
download-whisper-model: ## Download Whisper model for STT in batteries directory
@echo "Downloading Whisper model for STT..."
- @if [ ! -d "batteries/whisper.cpp" ]; then \
- echo "Please run 'make setup-whisper' first to clone the repository."; \
- exit 1; \
+ @if [ ! -d "batteries/whisper.cpp/models" ]; then \
+ mkdir -p "batteries/whisper.cpp/models" \
fi
- @cd batteries/whisper.cpp && bash ./models/download-ggml-model.sh large-v3-turbo-q5_0
+ curl -o batteries/whisper.cpp/models/ggml-large-v3-turbo-q5_0.bin -L "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo-q5_0.bin?download=true"
@echo "Whisper model downloaded successfully!"
# Docker targets for STT/TTS services (in batteries directory)