-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
33 lines (27 loc) · 771 Bytes
/
start.bat
File metadata and controls
33 lines (27 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
REM TuneLab API Start Script for Windows
echo ======================================
echo Starting TuneLab API
echo ======================================
echo.
REM Create necessary directories
if not exist "static" mkdir static
if not exist "uploads" mkdir uploads
if not exist "results" mkdir results
REM Check if dependencies are installed
echo 📦 Checking dependencies...
python -c "import fastapi, uvicorn" 2>nul
if errorlevel 1 (
echo ❌ Dependencies not installed. Installing...
pip install -r requirements_api.txt
)
echo Dependencies OK
echo.
REM Start server
echo Starting server on http://localhost:8000
echo.
echo Open your browser and visit: http://localhost:8000
echo.
echo Press Ctrl+C to stop the server
echo.
python api.py