Download start.sh from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/309404e1401bf41ba6104877bc7bfaeb2bec3196/start.sh
- Command line
-
hf download hf://spaces/mgbam/AICEO@309404e1401bf41ba6104877bc7bfaeb2bec3196/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/mgbam/AICEO/resolve/309404e1401bf41ba6104877bc7bfaeb2bec3196/start.sh
348 Bytes
| set -e | |
| # 1) Start Redis | |
| redis-server & | |
| # 2) Start Celery worker | |
| celery -A celery_worker worker --loglevel=info & | |
| # 3) Start FastAPI on 7861 (will be accessible at /proxy/7861) | |
| uvicorn app.main:app --host 0.0.0.0 --port 7861 & | |
| # 4) Start Streamlit on 7860 (root URL / will now show Streamlit) | |
| streamlit run app.py --server.port 7860 | |