-
Notifications
You must be signed in to change notification settings - Fork 11
feat: add Streamlit UI for consent form compliance checking #38
Copy link
Copy link
Open
Description
Adds a Streamlit frontend that exposes the full compliance pipeline to end users.
What this adds
- PDF and TXT consent form upload
- LLM backend toggle - Gemini 2.5 Flash (local testing) and OpenAI GPT-4 (production)
- Detected study type and check count shown before LLM call
- Results split into Tier 1 universal checks and Tier 2 conditional checks with ✅ / ❌ verdict, reason, and GA4GH citation per check
Files changed
src/ui/__init__.py- newsrc/ui/app.py- newsrc/compliance/checker.py-extract_textupdated to accept BytesIO (Streamlit uploads) alongside file paths;run_compliance_checknow accepts pre-extracted text directly andllmmade optional to support Gemini backend
To run
streamlit run src/ui/app.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels