-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path10 start.bat
More file actions
27 lines (21 loc) · 746 Bytes
/
10 start.bat
File metadata and controls
27 lines (21 loc) · 746 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
@echo off
title TTS Server Launcher
echo ============================================
echo Starting TTS API and Celery Worker
echo ============================================
REM --- Activate virtual environment ---
call venv\Scripts\activate
REM --- Start Celery worker ---
echo [1/2] Starting Celery worker...
celery -A worker worker --loglevel=info --pool=threads
REM --- Start FastAPI server ---
echo [2/2] Starting FastAPI (port 5000)...
start "FastAPI API" cmd /k uvicorn api:app --reload --port 5000
REM --- Open in browser ---
timeout /t 3 >nul
start "" http://127.0.0.1:5000/
echo.
echo ============================================
echo All services started successfully!
echo ============================================
pause