ffr0517/sepsis-spotter-ui
0
Sepsis Spotter Project Repository Quick Links
Spot Sepsis – UI Repository
Mobile-friendly research interface for interacting with the Spot Sepsis models (S1/S2). For research use only — not medical advice.
Current Implementation (Legacy-Compatible)
This version of the app connects to the previous Spot Sepsis API build (legacy endpoints). It provides a chat-based interface that collects clinical and laboratory information and runs the Spot Sepsis S1 and S2 models through either:
- Hugging Face Spaces (remote inference)
- Localhost (127.0.0.1) for self-hosted testing
Core Features
- Conversational intake assistant that builds a structured “Info Sheet.”
- Username/password research access gate.
- Sheet merge + resume for continuing sessions.
- “Run S1” / “Run S2” buttons gated by data completeness.
- Deterministic parser mode for use without an API key.
Planned Upgrades (Next Major Integration Phase)
This UI will be refactored once the new spot-sepsis-build, and spot-sepsis-api repositories reach their stable release.
Deployment
Automatic deployment is handled by .github/workflows/deploy-to-space.yml.
Workflow summary
- Checks out this repository.
- Clones the target Hugging Face Space using
HF_SPACEtoken +SPACE_ID. - Syncs
app.py,requirements.txt,README.md - Commits and pushes any changes.
