wind-of-change/logistics_routing_frontend
0
Logistics Policy Router Frontend
Gradio frontend for the shipment disruption routing backend.
What this UI includes
- Single-case payload builder
- JSON payload editor
- Backend health check
- Decision trace and explainability view
- Validation and audit checks
- Batch testing with CSV upload
- Performance dashboard with KPI summaries and charts
Required backend endpoints
This frontend expects a backend with:
GET /healthPOST /route
Space variables
Add this variable in the Hugging Face frontend Space:
BACKEND_BASE_URL= your backend Space URL
Optional:
REQUEST_TIMEOUT= request timeout in secondsDEFAULT_TEST_FILE= CSV file path packaged with the app
Suggested repo contents
app.pyrequirements.txtREADME.md- optional
test_cases_curated.csv
Notes
This is a frontend Space. It does not need your LLM API key unless you also move backend logic into this Space.
