Tell_Me / start.sh
trystine's picture
Create start.sh
a8dd534 verified
#!/bin/bash
# 1. Start Ollama server in the background
echo "Starting Ollama server..."
ollama serve &
# 2. Wait a few seconds for it to boot up
sleep 5
# 3. Pull the specific model you want to use
# *** IMPORTANT: Change 'llama3' if your app uses a different model! ***
echo "Pulling the Ollama model..."
ollama pull llama3
# 4. Start your Streamlit app
echo "Starting Streamlit..."
streamlit run fresh_app_v2.py --server.port=7860 --server.address=0.0.0.0