playreel/backend/tests/run_playreel_after_gate1.sh

23 lines
745 B
Bash
Executable File

#!/usr/bin/env bash
# Playreel 롱컷 — 게이트 ① 승인 뒤, 게이트 ②(analysis_confirm) 직전까지.
# 사용: tests/run_playreel_after_gate1.sh <goods_id>
set -euo pipefail
cd "$(dirname "$0")/.."
goods_id="${1:?사용: $0 <goods_id>}"
run() { echo; echo "── $1 ──"; shift; uv run python -m "$@"; }
run "③ upscale" tests.playreel.test_upscale_poster "$goods_id"
run "④ analyze" tests.playreel.test_analyze_poster "$goods_id"
cat <<EOF
══ 게이트 ② analysis_confirm ══
analysis.json movable 을 켜고 끈다
review_grid.jpg 요소 위치
ip_risk 켜져 있으면 생성 모델이 거부할 수 있다
다음: tests/run_playreel_after_gate2.sh $goods_id [모션키,쉼표구분]
EOF