1cf4ea0f07
Add PREPROCESS_TIMEOUT config (default 120s). Expose read_meta() and use one read per job in list_jobs() instead of read_status + read_manifest. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
873 B
Bash
25 lines
873 B
Bash
# Copy to `.env` and fill in real values. Never commit `.env`.
|
|
|
|
# --- Host data path (Syncthing share root) ------------------------------
|
|
# Prod default (compose.yml): /home/frank/sync.schwenk.online/data/livef12
|
|
# Layout under that path: incoming/ variants/ intermediates/ meta/
|
|
# Local override when the absolute path does not exist:
|
|
# DATA_HOST_DIR=./data
|
|
# DATA_HOST_DIR=/home/frank/sync.schwenk.online/data/livef12
|
|
|
|
# --- Pipeline tuning (see make_random.py for background) -----------------
|
|
OUTPUT_COUNT=3
|
|
# Remix-form default / legacy; auto variants use the min/max range below.
|
|
BLEND_OPACITY=30%
|
|
BLEND_OPACITY_MIN=10
|
|
BLEND_OPACITY_MAX=50
|
|
FILTER_TIMEOUT=120
|
|
FILTER_TIMEOUT_LONG=300
|
|
MAX_FILTER_ATTEMPTS=8
|
|
MAX_EDGE_PX=2000
|
|
PREPROCESS_TIMEOUT=120
|
|
# birefnet-general OOMs on the ~8GB box; u2net + alpha ≈ `rembg i -a`
|
|
REMBG_MODEL=u2net
|
|
REMBG_ALPHA=1
|
|
NICE_LEVEL=18
|