switchlingo / start.bat
MsThai's picture
Upload folder using huggingface_hub
9a82967 verified
Raw History Blame Contribute Delete
443 Bytes
@echo off
REM Ox Translate - Windows launcher. Double-click to run, then open http://localhost:8000
cd /d %~dp0
if not exist .venv (
python -m venv .venv
call .venv\Scripts\activate
pip install -r requirements.txt
) else (
call .venv\Scripts\activate
)
if exist .env for /f "usebackq eol=# tokens=1,* delims==" %%a in (".env") do set %%a=%%b
start "" http://localhost:8000
python -m uvicorn app.server:app --host 127.0.0.1 --port 8000