PyxiLabs commited on
Commit
e155edc
·
verified ·
1 Parent(s): bbdd11a

Create pull-model.sh

Browse files
Files changed (1) hide show
  1. pull-model.sh +9 -0
pull-model.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Start Ollama in the background
3
+ ollama serve &
4
+ # Wait for the server to start
5
+ sleep 5
6
+ # Pull the model
7
+ ollama pull all-minilm
8
+ # Stop the background server
9
+ kill %1