File size: 571 Bytes
cf0bb06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# run_app.sh

echo "🚀 Starting MedGemma RAG Chatbot Streamlit App..."

# Activate virtual environment if it exists
if [ -d "venv" ]; then
    echo "📦 Activating virtual environment..."
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
fi

# Check if requirements are installed
echo "🔍 Checking requirements..."
pip install -r requirements.txt

# Create .streamlit directory if it doesn't exist
mkdir -p .streamlit

# Run the Streamlit app
echo "🌐 Launching Streamlit app at http://localhost:8501"
streamlit run streamlit_app.py