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 |
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 |