Spaces:
Running on CPU Upgrade

File size: 443 Bytes
9a82967
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@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