File size: 503 Bytes
2edb151
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
@echo off
REM Windows: Gemma 4 12B-it must already be served (this PC or a Spark).
REM This script installs the app venv and opens the UI.
cd /d "%~dp0"
py -3.12 -m venv .venv 2>nul || python -m venv .venv
.venv\Scripts\python.exe -m pip install -q -U pip
.venv\Scripts\python.exe -m pip install -q -e ".[dev]"
if not exist .env copy .env.example .env
echo If Gemma is on another box, set RECEIPT_LLM_BASE_URL in .env to http://SPARK:8080/v1
.venv\Scripts\python.exe -m app.launch
if errorlevel 1 pause