Download start.sh from jkbytecrafter/autonomous-data-analyst: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/jkbytecrafter/autonomous-data-analyst/resolve/main/start.sh
- Command line
-
hf download hf://spaces/jkbytecrafter/autonomous-data-analyst/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/jkbytecrafter/autonomous-data-analyst/resolve/main/start.sh
399 Bytes
| # Start FastAPI backend in the background | |
| uvicorn app.backend.main:app --host 0.0.0.0 --port 8000 & | |
| # Wait a moment for backend to start | |
| sleep 3 | |
| # Start Streamlit frontend on port 7860 (HF Spaces default) | |
| streamlit run app.py \ | |
| --server.port 7860 \ | |
| --server.address 0.0.0.0 \ | |
| --server.headless true \ | |
| --server.enableCORS false \ | |
| --server.enableXsrfProtection false | |