Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,5 +8,87 @@ pinned: false
|
|
| 8 |
license: apache-2.0
|
| 9 |
short_description: mental wellness ap
|
| 10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 8 |
license: apache-2.0
|
| 9 |
short_description: mental wellness ap
|
| 10 |
---
|
| 11 |
+
---
|
| 12 |
+
title: HeedX AI
|
| 13 |
+
emoji: π³π¬
|
| 14 |
+
colorFrom: green
|
| 15 |
+
colorTo: gray
|
| 16 |
+
sdk: streamlit
|
| 17 |
+
sdk_version: 1.31.0
|
| 18 |
+
app_file: mental_app.py
|
| 19 |
+
pinned: false
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# π³π¬ HeedX AI β Nigerian Mental Wellness & Clinical Decision Support
|
| 23 |
+
|
| 24 |
+
## Overview
|
| 25 |
+
|
| 26 |
+
HeedX AI is a two-mode mental health intelligence platform designed specifically for Nigerian contexts. It provides:
|
| 27 |
+
|
| 28 |
+
1. Mode A: Professional Case Analysis
|
| 29 |
+
- For psychologists, psychiatrists, researchers, and case officers
|
| 30 |
+
- Upload patient observations and receive structured qualitative analysis and evidence-grounded insights
|
| 31 |
+
|
| 32 |
+
2. Mode B: Conversational User Support
|
| 33 |
+
- For individuals seeking empathetic, culturally sensitive mental wellness dialogue
|
| 34 |
+
- Provides multi-turn support with context-aware, evidence-informed responses
|
| 35 |
+
|
| 36 |
+
Both modes share a unified architecture built on qualitative semantic understanding, retrieval-augmented generation (RAG), and dedicated safety protocols β not diagnostic percentages.
|
| 37 |
+
|
| 38 |
+
## Key Features
|
| 39 |
+
|
| 40 |
+
### Professional Mode (Case Analysis)
|
| 41 |
+
- Upload or paste patient/client observations (.pdf, .txt, or direct text)
|
| 42 |
+
- Structured qualitative extraction of:
|
| 43 |
+
- Presenting concerns
|
| 44 |
+
- Symptoms and signals
|
| 45 |
+
- Duration and trajectory
|
| 46 |
+
- Stressors and sociocultural context
|
| 47 |
+
- Functional impact
|
| 48 |
+
- Risk indicators and safety signals
|
| 49 |
+
- Protective factors and resilience
|
| 50 |
+
- Evidence-grounded case formulation using Nigerian clinical literature and research
|
| 51 |
+
- Downloadable structured summaries for professional review
|
| 52 |
+
- Explicit safety triage separate from standard analysis
|
| 53 |
+
|
| 54 |
+
### Conversational Mode (User Chat)
|
| 55 |
+
- Natural multi-turn dialogue
|
| 56 |
+
- Automatic conversation state tracking
|
| 57 |
+
- Context-aware, evidence-informed responses
|
| 58 |
+
- Dedicated crisis detection and immediate safety escalation
|
| 59 |
+
- No diagnostic claims β supportive understanding only
|
| 60 |
+
- Warm, culturally attuned Nigerian mental wellness tone
|
| 61 |
+
|
| 62 |
+
### Shared Core Components
|
| 63 |
+
- Qualitative Analysis Engine
|
| 64 |
+
- RAG System
|
| 65 |
+
- Safety Layer
|
| 66 |
+
- Conversation State Manager
|
| 67 |
+
- Deterministic Support Modules
|
| 68 |
+
|
| 69 |
+
## No Diagnostic Percentages
|
| 70 |
+
|
| 71 |
+
Unlike traditional mental health AI, HeedX does not:
|
| 72 |
+
- Generate synthetic diagnostic percentages
|
| 73 |
+
- Claim clinical diagnoses
|
| 74 |
+
- Use a four-class ML classifier as the main inference engine
|
| 75 |
+
- Force complex human experience into artificial categories
|
| 76 |
+
|
| 77 |
+
Instead, HeedX provides qualitative clinical understanding grounded in evidence and cultural context.
|
| 78 |
+
|
| 79 |
+
## Nigerian Context
|
| 80 |
+
- Crisis hotlines (MANI, She Writes Woman, National Emergency)
|
| 81 |
+
- Federal Neuropsychiatric Hospital directories
|
| 82 |
+
- Faith and community support networks
|
| 83 |
+
- Nigerian proverbs and cultural wisdom
|
| 84 |
+
- Support for Nigerian English and idiomatic expressions
|
| 85 |
+
- Evidence from Nigerian epidemiological research
|
| 86 |
+
|
| 87 |
+
## Quick Start
|
| 88 |
+
|
| 89 |
+
```bash
|
| 90 |
+
cd mental_health_app_real
|
| 91 |
+
pip install -r requirements.txt
|
| 92 |
+
streamlit run mental_app.py
|
| 93 |
|
| 94 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|