-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
42 lines (38 loc) · 1.15 KB
/
Copy pathsetup.bat
File metadata and controls
42 lines (38 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
echo ============================================================
echo Local Voice Assistant - Windows Setup
echo ============================================================
echo.
echo [1/3] Installing Python dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo ERROR: pip install failed. See output above.
exit /b 1
)
echo.
echo [2/3] Downloading Piper TTS voice model...
python setup_models.py
if errorlevel 1 (
echo ERROR: Model download failed.
exit /b 1
)
echo.
echo [3/3] Checking Ollama...
set "OLLAMA=%LOCALAPPDATA%\Programs\Ollama\ollama.exe"
if not exist "%OLLAMA%" (
echo.
echo Ollama is NOT installed.
echo Install it with: winget install Ollama.Ollama
echo Then run: ollama pull llama3.1:70b
echo.
) else (
echo Ollama found at %OLLAMA%
echo If you haven't already, pull your model:
echo "%OLLAMA%" pull llama3.1:70b
)
echo.
echo ============================================================
echo Setup complete.
echo To run: python main.py
echo Make sure Ollama is running first: ollama serve
echo ============================================================