Spaces:
Runtime error
Runtime error
Download start.sh from abokidev/kodingo-infer: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/spaces/abokidev/kodingo-infer/resolve/main/start.sh
- Command line
-
hf download hf://spaces/abokidev/kodingo-infer/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/abokidev/kodingo-infer/resolve/main/start.sh
374 Bytes
| # Start Ollama in background | |
| ollama serve & | |
| # Wait for Ollama to be ready | |
| echo "Waiting for Ollama to start..." | |
| until curl -s http://localhost:11434/api/tags > /dev/null 2>&1; do | |
| sleep 2 | |
| done | |
| echo "Ollama ready. Pulling Qwen2.5-Coder-7B..." | |
| ollama pull qwen2.5-coder:7b | |
| echo "Model ready. Kodingo inference service is live." | |
| # Keep container running | |
| wait | |