whatsthispdf08 / start_service.sh
mitulagr2's picture
Update to qwen:1.8b
9266b9a
raw
history blame
196 Bytes
#!/bin/sh
# Start Ollama in the background
ollama serve &
# Wait for Ollama to start
sleep 5
# Pull and run <YOUR_MODEL_NAME>
ollama pull qwen:1.8b
#
fastapi run /code/app/main.py --port 7860