Spaces:
Running
Running
Echo-ai
commited on
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
# Start Ollama in the background
|
3 |
-
|
4 |
-
ollama serve --port 7860 --host 0.0.0.0 &
|
5 |
# Pull a small model (e.g., TinyLlama) if not present
|
6 |
if ! ollama list | grep -q "tinyllama"; then
|
7 |
ollama pull tinyllama
|
|
|
1 |
#!/bin/bash
|
2 |
# Start Ollama in the background
|
3 |
+
ollama serve &
|
4 |
+
#ollama serve --port 7860 --host 0.0.0.0 &
|
5 |
# Pull a small model (e.g., TinyLlama) if not present
|
6 |
if ! ollama list | grep -q "tinyllama"; then
|
7 |
ollama pull tinyllama
|