| set -e | |
| # Lancer FastAPI en arrière-plan | |
| uvicorn api:app --host 0.0.0.0 --port 8000 & | |
| # Lancer Streamlit (port imposé par Hugging Face = $PORT, souvent 7860) | |
| streamlit run frontend.py --server.port $PORT --server.address 0.0.0.0 | |
| set -e | |
| # Lancer FastAPI en arrière-plan | |
| uvicorn api:app --host 0.0.0.0 --port 8000 & | |
| # Lancer Streamlit (port imposé par Hugging Face = $PORT, souvent 7860) | |
| streamlit run frontend.py --server.port $PORT --server.address 0.0.0.0 | |