Update run.sh
Browse files
run.sh
CHANGED
|
@@ -5,11 +5,7 @@ set -e
|
|
| 5 |
service nginx start
|
| 6 |
|
| 7 |
# Start FastAPI (JSON API)
|
| 8 |
-
python -m uvicorn src.api_server:api --host localhost --port 3000 &
|
| 9 |
|
| 10 |
# Start Streamlit (Leaderboard UI)
|
| 11 |
streamlit run src/streamlit_app.py --server.port 4000 --server.address localhost
|
| 12 |
-
|
| 13 |
-
# Cleanup after Streamlit exits
|
| 14 |
-
pkill -F api.pid
|
| 15 |
-
rm api.pid
|
|
|
|
| 5 |
service nginx start
|
| 6 |
|
| 7 |
# Start FastAPI (JSON API)
|
| 8 |
+
python -m uvicorn src.api_server:api --host localhost --port 3000 &
|
| 9 |
|
| 10 |
# Start Streamlit (Leaderboard UI)
|
| 11 |
streamlit run src/streamlit_app.py --server.port 4000 --server.address localhost
|
|
|
|
|
|
|
|
|
|
|
|