File size: 432 Bytes
546ff88 |
1 2 3 4 5 6 7 8 9 10 11 12 |
@echo off
setlocal
REM Always use the workspace venv interpreter to avoid PATH picking a different Python.
set "PY_EXE=%~dp0.venv\Scripts\python.exe"
if not exist "%PY_EXE%" (
echo [ERROR] venv not found at %PY_EXE%
echo Create it with: python -m venv .venv ^&^& .venv\Scripts\pip install -r requirements.txt
exit /b 1
)
"%PY_EXE%" app.py --checkpoint ./checkpoints/best_model.pt --embeddings ./embeddings/artist_embeddings.npz |