Spaces:
Sleeping
Sleeping
Download start.sh from refaelz/legacy-code-challenge: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/refaelz/legacy-code-challenge/resolve/main/start.sh
- Command line
-
hf download hf://spaces/refaelz/legacy-code-challenge/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/refaelz/legacy-code-challenge/resolve/main/start.sh
342 Bytes
| # Start script for hosting platforms (Render, Heroku, etc.) | |
| echo "π Starting Legacy Code Challenge..." | |
| # Install dependencies if needed | |
| if [ ! -d "venv" ]; then | |
| echo "π¦ Installing dependencies..." | |
| pip install -r requirements.txt | |
| fi | |
| # Launch the interface | |
| echo "π Launching Gradio interface..." | |
| python main.py | |