File size: 310 Bytes
3f589e4
 
2dfa297
0494eed
 
2dfa297
0494eed
3f589e4
2dfa297
 
 
3f589e4
02e4133
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Start the Ollama service
ollama serve &

echo "Waiting for Ollama server to start..."
sleep 10

# Pull the Ollama model
ollama pull gemma2:2b

# Start the application
#exec uvicorn app:app --host 0.0.0.0 --port 7860

# Start the Streamlit application
exec streamlit run app.py --server.port=7860