grants-rag / run.sh
Gen. Overseer Lupo
Clean initial commit for HF Spaces (exclude venv & binaries)
598f5cb
raw
history blame contribute delete
274 Bytes
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
# Activate venv (create if missing)
if [ ! -d ".venv" ]; then
python3 -m venv .venv
fi
source .venv/bin/activate
# Make imports work and launch the UI
export PYTHONPATH="$(pwd)"
python -m streamlit run app/ui_streamlit.py