summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-07 18:13:11 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-07 18:13:11 +0300
commitc8f00198d6f0ad66269753252f56485ee346d413 (patch)
treefd6cbfe88718d19dad1d4765397329da473822fb /Makefile
parentc5a24b2a3f30fe60888702b09e409647616c18d0 (diff)
Dep (stt): use ffmpeg instead of portaudio
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)