Spaces:
Running
Running
A newer version of the Streamlit SDK is available: 1.57.0
Frontend (Multi-Page Flow)
This frontend now uses a strict page flow:
index.html-> Login/Signupupload.html-> Upload 1-2 reference documents (optional) + final document (required), then run analysisissues.html-> Line-level issue page (duplication, inconsistency, contradiction)summary.html-> Final full-document summarydashboard.html-> Final error dashboard (Reference vs Final comparison + line-level table)
Run
Serve this folder using any static server from frontend/:
python -m http.server 8080
Open:
http://127.0.0.1:8080/index.html
Backend dependency
Frontend expects Flask backend endpoints:
POST /api/registerPOST /api/loginPOST /api/analyze(multipart:filefinal doc, optionalreferenceFiles[],scanMode)
Fallback aliases are also supported in client code (/register, /login, /analyze) across ports 5000 and 5001.
Notes
- Login state and analysis payload are stored in
sessionStorage. - If user session is missing,
upload.html,issues.html, andsummary.htmlredirect toindex.html. - If analysis payload is missing,
issues.htmlandsummary.htmlredirect toupload.html.