Files
ozone-tech_owl_prime/vision_classifier/run.sh
2026-08-03 01:26:42 +07:00

13 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$DIR"
if [[ ! -d .venv ]]; then
python3 -m venv .venv
.venv/bin/pip install -U pip
.venv/bin/pip install -r requirements.txt
fi
exec .venv/bin/python main.py "$@"