14 lines
544 B
Batchfile
14 lines
544 B
Batchfile
@echo off
|
|
REM Bolt Assistant: listens for "Hey Bolt" on the default mic. Keep this window
|
|
REM open (it shows what was heard and said); Ctrl+C or close it to stop.
|
|
setlocal
|
|
set "ROOT=%~dp0"
|
|
if not exist "%ROOT%.venv" (
|
|
echo First run: creating .venv and installing requirements...
|
|
python -m venv "%ROOT%.venv"
|
|
"%ROOT%.venv\Scripts\python" -m pip install --upgrade pip
|
|
"%ROOT%.venv\Scripts\python" -m pip install -r "%ROOT%requirements.txt"
|
|
)
|
|
set "PYTHONPATH=%ROOT%;%PYTHONPATH%"
|
|
"%ROOT%.venv\Scripts\python" -m bolt_assistant %*
|