Spaces:
Build error
Build error
Delete start_ollama.sh
Browse files- start_ollama.sh +0 -20
start_ollama.sh
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# Start ollama server
|
| 4 |
-
echo "Starting ollama server"
|
| 5 |
-
ollama serve &
|
| 6 |
-
|
| 7 |
-
# Wait for the ollama server to start
|
| 8 |
-
echo "Waiting for ollama server to start..."
|
| 9 |
-
while ! lsof -i :11434 > /dev/null; do
|
| 10 |
-
sleep 1
|
| 11 |
-
done
|
| 12 |
-
echo "ollama server started"
|
| 13 |
-
|
| 14 |
-
# Pull the phi3 model
|
| 15 |
-
echo "Pulling phi3 model"
|
| 16 |
-
ollama pull phi3
|
| 17 |
-
|
| 18 |
-
# Run the start_app.sh script
|
| 19 |
-
echo "Running start_app.sh script"
|
| 20 |
-
bash start_app.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|