CoolFace
Apppublic

DevilNReality/Incident-Triage-Reinforcement-Learning

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
start.sh22 linesDownload Raw Back to root
1#!/bin/bash2set -e3 4mkdir -p /tmp/nginx_client_body /tmp/nginx_proxy /tmp/nginx_fastcgi /tmp/nginx_uwsgi /tmp/nginx_scgi5 6echo "▶ FastAPI :8000"7cd /app/backend && uvicorn server:app --host 0.0.0.0 --port 8000 &8 9echo "▶ Streamlit :8501"10BACKEND_URL=http://localhost:8000 streamlit run /app/frontend/app.py \11  --server.port 8501 \12  --server.address 0.0.0.0 \13  --server.headless true \14  --server.enableCORS false \15  --server.enableXsrfProtection false &16 17echo "▶ Waiting for services..."18sleep 519 20echo "▶ nginx :7860 (public)"21exec nginx -g "daemon off;"22