Spaces:
Paused
Paused
Download entrypoint.sh from rahul7star/pyclaw: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/spaces/rahul7star/pyclaw/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/rahul7star/pyclaw/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/rahul7star/pyclaw/resolve/main/entrypoint.sh
223 Bytes
| set -e | |
| echo "Starting Ollama..." | |
| ollama serve & | |
| sleep 8 | |
| echo "Pulling model..." | |
| ollama pull "${MODEL_NAME}" || true | |
| mkdir -p /workspace/data | |
| echo "Launching Gradio UI..." | |
| cd /workspace | |
| python3 app_gradio.py |