coollsd commited on
Commit
60b410d
·
verified ·
1 Parent(s): 4feeb2f

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -2
start.sh CHANGED
@@ -1,4 +1,8 @@
1
  #!/bin/bash
2
- python tracker.py &
3
- python leaderboard.py &
 
 
 
 
4
  uvicorn app:app --host 0.0.0.0 --port 7860 --proxy-headers
 
1
  #!/bin/bash
2
+ echo "[System] Starting all services..."
3
+ echo "[System] Starting tracker.py..."
4
+ PYTHONUNBUFFERED=1 python tracker.py &
5
+ echo "[System] Starting leaderboard.py..."
6
+ PYTHONUNBUFFERED=1 python leaderboard.py &
7
+ echo "[System] Starting FastAPI server..."
8
  uvicorn app:app --host 0.0.0.0 --port 7860 --proxy-headers