Initial commit: Cosmo voice assistant
Полностью локальный голосовой ассистент на Python. Стек: - Wake word: openWakeWord (onnxruntime) - STT: RealtimeSTT + faster-whisper + Silero VAD (CUDA) - LLM-агент: smolagents ToolCallingAgent + Ollama qwen2.5:7b - TTS: Silero V4 (torch.hub) + sounddevice - Shell: Git Bash (Windows) / bash (macOS) Поддерживает Windows и macOS. Агент с памятью и tool calling — находит программы самостоятельно, запоминает пути, выполняет произвольные shell-команды. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
14
run_mac.sh
Normal file
14
run_mac.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Проверяем что Ollama запущен
|
||||
if ! curl -s http://localhost:11434 &>/dev/null; then
|
||||
echo "Ollama не запущен. Запускаю..."
|
||||
ollama serve &>/dev/null &
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
# Запускаем с Mac-конфигом
|
||||
COSMO_PLATFORM=mac python3 cosmo/main.py --config config/config_mac.yaml "$@"
|
||||
Reference in New Issue
Block a user