Virtual-LPU / LPU_Server.cmd
iparaco's picture
Upload 118 files
e59bd9d verified
Raw History Blame Contribute Delete
704 Bytes
@echo off
REM LPU AI Accelerator V7.1.1 — browser-dashboard launcher.
REM Explicit python.exe call (bypasses any broken .py association).
REM Double-clickable from Explorer, works from any PowerShell/CMD cwd.
setlocal
set "LPU_ROOT=%~dp0.."
cd /d "%LPU_ROOT%"
set "PY="
if exist "%LPU_ROOT%\.venv\Scripts\python.exe" (
set "PY=%LPU_ROOT%\.venv\Scripts\python.exe"
) else if exist "C:\ipara\Ipara.co\Scripts\python.exe" (
set "PY=C:\ipara\Ipara.co\Scripts\python.exe"
) else if exist "C:\Ipara.co\Scripts\python.exe" (
set "PY=C:\Ipara.co\Scripts\python.exe"
)
if defined PY (
"%PY%" run_lpu.py %*
) else (
py -3 run_lpu.py %* 2>nul || python run_lpu.py %*
)
exit /b %ERRORLEVEL%