CoolFace
Apppublic

wind-of-change/logistics_routing_frontend

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

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 /health
  • —POST /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 seconds
  • —DEFAULT_TEST_FILE = CSV file path packaged with the app

Suggested repo contents

  • —app.py
  • —requirements.txt
  • —README.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.