ash-171 commited on
Commit
3645a0a
·
verified ·
1 Parent(s): 5904ddc

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +4 -0
start.sh CHANGED
@@ -12,6 +12,10 @@ until curl -s http://localhost:11434/api/tags > /dev/null; do
12
  done
13
  echo "Ollama is ready!"
14
 
 
 
 
 
15
  echo "Starting Streamlit app..."
16
  streamlit run streamlit_app.py --server.port=8501 --server.enableCORS=false --server.enableXsrfProtection=false
17
 
 
12
  done
13
  echo "Ollama is ready!"
14
 
15
+ MODEL_NAME="gemma3"
16
+ echo "Pulling Ollama model: ${MODEL_NAME}..."
17
+ ollama pull "${MODEL_NAME}" || { echo "Failed to pull model ${MODEL_NAME}. Exiting."; exit 1; }
18
+
19
  echo "Starting Streamlit app..."
20
  streamlit run streamlit_app.py --server.port=8501 --server.enableCORS=false --server.enableXsrfProtection=false
21