Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +5 -0
entrypoint.sh
CHANGED
|
@@ -40,6 +40,11 @@ if ! ollama pull gemma3:1b; then
|
|
| 40 |
exit 1
|
| 41 |
fi
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
echo "Model pulled successfully!"
|
| 44 |
|
| 45 |
# Keep the container running and wait for the ollama process
|
|
|
|
| 40 |
exit 1
|
| 41 |
fi
|
| 42 |
|
| 43 |
+
if ! ollama pull nomic-embed-text; then
|
| 44 |
+
echo "ERROR: Failed to pull model gemma3:1b"
|
| 45 |
+
exit 1
|
| 46 |
+
fi
|
| 47 |
+
|
| 48 |
echo "Model pulled successfully!"
|
| 49 |
|
| 50 |
# Keep the container running and wait for the ollama process
|