brickstyle-gen / run.sh
Joshua Yeung
Update smoke test, run script, and Makefile
63cdf42
raw
history blame contribute delete
236 Bytes
#!/usr/bin/env bash
set -euo pipefail
if [[ -f ".venv/bin/activate" ]]; then
source .venv/bin/activate
fi
export GRADIO_SERVER_NAME=${GRADIO_SERVER_NAME:-0.0.0.0}
export GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT:-7860}
python app.py