From c8f00198d6f0ad66269753252f56485ee346d413 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 7 Mar 2026 18:13:11 +0300 Subject: Dep (stt): use ffmpeg instead of portaudio --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3