infinityonline commited on
Commit
9d77c8f
·
verified ·
1 Parent(s): ad5928f

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -0
start.sh CHANGED
@@ -1,6 +1,7 @@
1
  #!/bin/bash
2
 
3
  export OLLAMA_MODELS=/root/.ollama/models
 
4
 
5
  ollama serve &
6
  OLLAMA_PID=$!
 
1
  #!/bin/bash
2
 
3
  export OLLAMA_MODELS=/root/.ollama/models
4
+ export OLLAMA_KEEP_ALIVE=-1
5
 
6
  ollama serve &
7
  OLLAMA_PID=$!