Shrouk04's picture
Update start.sh
e641bd1 verified
Raw
History Blame Contribute Delete
415 Bytes
#!/bin/bash
# Start Ollama
ollama serve &
# Wait for Ollama
#sleep 15
until curl -s http://localhost:11434/api/tags > /dev/null
do
echo "Waiting for Ollama..."
sleep 2
done
# Download model
#ollama pull qwen2:7b
ollama pull qwen2.5:3b
#ollama pull qwen2.5:1.5b
#ollama pull jais:1.3b
#ollama pull aya:3b
#ollama pull gemma3:4b
############
# Start FastAPI
uvicorn app:app --host 0.0.0.0 --port 7860