Ollama / ollama.sh
PyxiLabs's picture
Rename pull-model.sh to ollama.sh
be4c0da verified
raw
history blame
214 Bytes
#!/bin/sh
source /app/venv/bin/activate
# Start Ollama in the background
# Starting server
echo "Starting Ollama server"
ollama serve &
# Wait for the server to start
sleep 5
# Pull the model
ollama pull all-minilm