Spaces:
Build error
Build error
File size: 181 Bytes
2571e41 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash
ollama serve &
while ! nc -z localhost 7860; do
echo "Waiting for Ollama server to start..."
sleep 1
done
echo "Pulling the model..."
ollama pull bge-m3
wait |