Spaces:
Build error
Build error
Update entrypoint.sh
Browse files- entrypoint.sh +2 -2
entrypoint.sh
CHANGED
@@ -9,10 +9,10 @@ sleep 1
|
|
9 |
IFS=',' read -ra MODELS <<< "$model"
|
10 |
for m in "${MODELS[@]}"; do
|
11 |
echo "Pulling $m"
|
12 |
-
|
13 |
sleep 5
|
14 |
echo "Running $m"
|
15 |
-
|
16 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
17 |
done
|
18 |
|
|
|
9 |
IFS=',' read -ra MODELS <<< "$model"
|
10 |
for m in "${MODELS[@]}"; do
|
11 |
echo "Pulling $m"
|
12 |
+
ollama pull "$m"
|
13 |
sleep 5
|
14 |
echo "Running $m"
|
15 |
+
ollama run "$m"
|
16 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
17 |
done
|
18 |
|