Spaces:
Sleeping
Sleeping
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 | |