Spaces:
Sleeping
Sleeping
Create start.sh
Browse files
start.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
# Start Ollama server in background
|
3 |
+
ollama serve &
|
4 |
+
|
5 |
+
# Wait for Ollama to be ready
|
6 |
+
sleep 10
|
7 |
+
|
8 |
+
# Pull a lightweight model (you can change this)\n\
|
9 |
+
ollama pull deepseek-r1:1.5b
|
10 |
+
|
11 |
+
# Keep the container running
|
12 |
+
wait
|