langroid-custom-front-end / start_ollama.sh
bentebbutt's picture
Update start_ollama.sh
f8872c8 verified
raw
history blame
396 Bytes
#!/bin/bash
# Start ollama server
echo "Starting ollama server"
ollama serve &
# Wait for the ollama server to start
echo "Waiting for ollama server to start..."
while ! lsof -i :11434 > /dev/null; do
sleep 1
done
echo "ollama server started"
# Pull the phi3 model
echo "Pulling phi3 model"
ollama pull phi3
# Run the start_app.sh script
echo "Running start_app.sh script"
bash start_app.sh