Download setup.sh from helviz/deploy_ml: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/spaces/helviz/deploy_ml/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/helviz/deploy_ml/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/helviz/deploy_ml/resolve/main/setup.sh
254 Bytes
| # Install dependencies (not needed if using Docker) | |
| pip install -r requirements.txt | |
| # Start Flask API in the background | |
| nohup python3 app.py & | |
| # Start Streamlit app | |
| streamlit run streamlit_app.py --server.port 7860 --server.address 0.0.0.0 | |