File size: 250 Bytes
5e8fd8b
 
 
0d1cc7d
5e8fd8b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

#
sudo curl -fsSL https://ollama.com/install.sh | sh

# Start Ollama in the background
ollama serve &

# Wait for Ollama to start
sleep 5

# Pull and run <YOUR_MODEL_NAME>
ollama pull phi3:mini

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