diff --git a/backend/inference.py b/backend/inference.py index 719ed99..2ba4f7b 100644 --- a/backend/inference.py +++ b/backend/inference.py @@ -7,6 +7,8 @@ overnight-whole-app: Call 1 POST is hard-disabled (410 call1_disabled). Call 2 s import base64 import hashlib +import html +import re import io import json import time @@ -106,9 +108,17 @@ CALL1_SEED = ( '"feature_tag_ids": [,...], "feature_tag_confidence": <0-1>}' ) CALL2_SEED = ( - "Write WooCommerce listing copy for this slab from the photos and listing facts below.\n" + "Write listing copy for this slab for woodworkers choosing stock for a project. " + "Audience: makers matching wood to a tabletop, bar, bench, or similar build — practical, " + "material/figure/spec-forward. No lifestyle or marketing hype " + "(avoid empty phrases like elevate, stunning, dramatic visual contrast).\n" "You write BOTH the short description and the long description.\n" "\n" + "PLAIN TEXT ONLY (short AND long):\n" + "- Output plain text only. No HTML tags (

,