Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +1 -2
entrypoint.sh
CHANGED
@@ -12,8 +12,7 @@ for m in "${MODELS[@]}"; do
|
|
12 |
ollama pull "$m"
|
13 |
sleep 5
|
14 |
echo "Running $m"
|
15 |
-
|
16 |
-
ollama run "$m" --keepalive -24h
|
17 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
18 |
done
|
19 |
|
|
|
12 |
ollama pull "$m"
|
13 |
sleep 5
|
14 |
echo "Running $m"
|
15 |
+
ollama run "$m" --keepalive -1s
|
|
|
16 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
17 |
done
|
18 |
|