Spaces:
Build error
Build error
Update entrypoint.sh
Browse files- entrypoint.sh +2 -2
entrypoint.sh
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
# Start Ollama server in the background
|
| 3 |
/usr/bin/ollama serve &
|
| 4 |
|
| 5 |
-
# Wait
|
| 6 |
-
sleep
|
| 7 |
|
| 8 |
# Pull the model if not already downloaded
|
| 9 |
/usr/bin/ollama pull hf.co/Chun121/qwen3-4B-rpg-roleplay:Q4_K_M
|
|
|
|
| 2 |
# Start Ollama server in the background
|
| 3 |
/usr/bin/ollama serve &
|
| 4 |
|
| 5 |
+
# Wait to ensure Ollama server is up
|
| 6 |
+
sleep 10
|
| 7 |
|
| 8 |
# Pull the model if not already downloaded
|
| 9 |
/usr/bin/ollama pull hf.co/Chun121/qwen3-4B-rpg-roleplay:Q4_K_M
|