File size: 352 Bytes
8bab08d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# file: scripts/run_ui.sh
#!/bin/bash
# Activate virtual environment if it exists
if [ -d ".venv" ]; then
source .venv/bin/activate
fi
# Set environment variables
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
# Run Streamlit UI
echo "Starting Streamlit UI on port 8501..."
streamlit run ui/streamlit_app.py --server.port 8501 --server.address 0.0.0.0 |