Spaces:
Sleeping
Sleeping
Download run.sh from Darshanpurohit/StratoTest: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/Darshanpurohit/StratoTest/resolve/main/run.sh
- Command line
-
hf download hf://spaces/Darshanpurohit/StratoTest/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/Darshanpurohit/StratoTest/resolve/main/run.sh
336 Bytes
| # 1. Start the FastAPI backend in the background on port 8000 | |
| # (Your Streamlit app already points to http://localhost:8000/api/v1) | |
| uvicorn main:app --host 0.0.0.0 --port 8000 & | |
| # 2. Start the Streamlit frontend on port 7860 (Hugging Face Default) | |
| streamlit run frontend/app.py --server.port 7860 --server.address 0.0.0.0 | |