Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
start.sh
CHANGED
@@ -9,8 +9,8 @@ until curl -s http://localhost:11434/api/tags >/dev/null; do
|
|
9 |
done
|
10 |
|
11 |
# Pull the model if not already present
|
12 |
-
if ! ollama list | grep -q "
|
13 |
-
ollama pull
|
14 |
fi
|
15 |
|
16 |
# Start the FastAPI server
|
|
|
9 |
done
|
10 |
|
11 |
# Pull the model if not already present
|
12 |
+
if ! ollama list | grep -q "mistral:instruct"; then
|
13 |
+
ollama pull mistral:instruct
|
14 |
fi
|
15 |
|
16 |
# Start the FastAPI server
|