Echo-ai commited on
Commit
daa46b4
·
verified ·
1 Parent(s): b7b249d

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -1
start.sh CHANGED
@@ -10,7 +10,7 @@ fi
10
  # Wait for Ollama to start (up to 30 seconds)
11
  max_attempts=30
12
  attempt=0
13
- while ! curl -s http://localhost:11434/api/tags >/dev/null; do
14
  sleep 1
15
  attempt=$((attempt + 1))
16
  if [ $attempt -eq $max_attempts ]; then
 
10
  # Wait for Ollama to start (up to 30 seconds)
11
  max_attempts=30
12
  attempt=0
13
+ while ! curl -s http://localhost:7860/api/tags >/dev/null; do
14
  sleep 1
15
  attempt=$((attempt + 1))
16
  if [ $attempt -eq $max_attempts ]; then