Spaces:
Sleeping
Sleeping
fix start.sh
Browse files
start.sh
CHANGED
|
@@ -13,6 +13,11 @@ if ! ollama list | grep -q "llama3.2:latest"; then
|
|
| 13 |
ollama pull llama3.2:latest
|
| 14 |
fi
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Wait for Ollama to start up
|
| 17 |
max_attempts=30
|
| 18 |
attempt=0
|
|
|
|
| 13 |
ollama pull llama3.2:latest
|
| 14 |
fi
|
| 15 |
|
| 16 |
+
# Pull the model if not already present
|
| 17 |
+
if ! ollama list | grep -q "mistral:latest"; then
|
| 18 |
+
ollama pull mistral:latest
|
| 19 |
+
fi
|
| 20 |
+
|
| 21 |
# Wait for Ollama to start up
|
| 22 |
max_attempts=30
|
| 23 |
attempt=0
|