File size: 213 Bytes
0ffeb39
6d22485
0ffeb39
6d22485
 
 
 
0ffeb39
6d22485
0ffeb39
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import os
import sys

# get model name
model = sys.argv[1]

# start the server
os.system('ollama serve &')
# pull the model
os.system(f'ollama pull {model}')
# verify the contents
os.system(f'ollama pull {model}')