crack-detection / run.sh
calcent's picture
Deploy crack detection app
cd0d068 verified
Raw
History Blame Contribute Delete
249 Bytes
#!/usr/bin/env bash
# Start the crack detection web app.
set -e
cd "$(dirname "$0")"
if [ ! -d venv ]; then
echo "Creating virtualenv..."
python3.12 -m venv venv
./venv/bin/pip install -q -r requirements.txt
fi
exec ./venv/bin/python app.py