Download start.sh from maxcasado/POC2PROD: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/spaces/maxcasado/POC2PROD/resolve/main/start.sh
- Command line
-
hf download hf://spaces/maxcasado/POC2PROD/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/maxcasado/POC2PROD/resolve/main/start.sh
252 Bytes
| 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 | |