Spaces:
Running
Running
Download setup.sh from emvecchi/simulated_patient: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/emvecchi/simulated_patient/resolve/refs%2Fpr%2F6/setup.sh
- Command line
-
hf download hf://spaces/emvecchi/simulated_patient@refs/pr/6/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/emvecchi/simulated_patient/resolve/refs%2Fpr%2F6/setup.sh
341 Bytes
| set -x #echo on | |
| # Install Git LFS | |
| curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | |
| sudo apt-get install git-lfs | |
| git lfs install | |
| # Create Streamlit configuration | |
| mkdir -p ~/.streamlit/ | |
| echo "\ | |
| [server]\n\ | |
| headless = true\n\ | |
| port = $PORT\n\ | |
| enableCORS = false\n\ | |
| \n\ | |
| " > ~/.streamlit/config.toml | |