of_LLms / start-ollama.sh
ka1kuk's picture
Update start-ollama.sh
8791f27 verified
raw
history blame
262 Bytes
#!/bin/bash
# Start ollama server in the background
ollama serve &
# Wait for the server to be ready
sleep 10
# Execute ollama pull commands
ollama pull gemma:7b
ollama pull bakllava
# Run the Python script
python3 main.py
# Keep the container running
wait