Download start.sh from mnoorchenar/StatAgent: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/mnoorchenar/StatAgent/resolve/main/start.sh
- Command line
-
hf download hf://datasets/mnoorchenar/StatAgent/start.sh
-
curl -L -o start.sh https://huggingface.co/datasets/mnoorchenar/StatAgent/resolve/main/start.sh
226 Bytes
| # Start the three services: R plumber (8001) -> FastAPI agent (8000) -> Shiny UI (7860) | |
| Rscript r/run_api.R & | |
| python -m uvicorn statagent.api:app --host 127.0.0.1 --port 8000 & | |
| sleep 8 | |
| exec Rscript scripts/run_app.R | |