File size: 196 Bytes
5e8fd8b
 
 
 
 
 
 
 
 
e5402d5
5e8fd8b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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:0.5b

#
fastapi run /code/app/main.py --port 7860