CoolFace
Apppublic

GaoShengyuan/structured-product-demo

sourceHugging Faceupdated 3mo agoView on Hugging Face
1likes
App README

WealthPilot Structured Product Demo

Standalone demo for the Structured Product Dashboard, lifecycle detail page, term sheet upload, lightweight PDF parsing, and lifecycle cashflow display.

Local Run

bash
npm install
python3 -m pip install --user -r requirements.txt
npm start

Open http://127.0.0.1:8844/index.html.

Render Deploy

Use the included render.yaml as a Blueprint, or create a Web Service with:

  • Build command: npm install && python3 -m pip install --user -r requirements.txt
  • Start command: npm start
  • Environment:
  • HOST=0.0.0.0
  • PDF_PARSER_PYTHON=python3

Uploaded PDFs are stored on the service disk for demo use only.

Hugging Face Spaces Deploy

Create a new Hugging Face Space:

  • SDK: Docker
  • Visibility: Public or Private

The included Dockerfile sets:

  • HOST=0.0.0.0
  • PORT=7860
  • PDF_PARSER_PYTHON=python3

Spaces will expose the app at the Space URL. Uploaded PDFs are stored on the Space's temporary disk for demo use only.