#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")" if [[ ! -d .venv ]]; then echo "Creating venv..." python3.12 -m venv .venv 2>/dev/null || python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt else source .venv/bin/activate fi echo "Starting Endpoint Labeler at http://127.0.0.1:7860" python app.py