Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.22.0
metadata
title: Invoice Processor Worker
emoji: 🧾
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.44.1
app_file: app.py
pinned: false
license: apache-2.0
Invoice Processor — model worker (ZeroGPU)
Claims invoice-extraction jobs from a private Cloudflare Worker API
(POST /internal/claim, auth via secret), downloads the PDF, extracts structured
JSON with LiquidAI/LFM2-1.2B-Extract
on a ZeroGPU slice, and posts the result back.
This Space is public but holds no data: PDFs and results live in the owner's Cloudflare R2/D1, and the internal API requires a secret key. The UI is a status panel only.
Space secrets
| Secret | Purpose |
|---|---|
WORKER_URL |
Cloudflare Worker base URL |
INTERNAL_KEY |
shared secret for the Worker's /internal/* endpoints |