Spaces:
Sleeping
Sleeping
| title: AI-Powered Differential Diagnosis (Educational) | |
| emoji: ⚕️ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: "4.44.0" | |
| app_file: app.py | |
| pinned: false | |
| # AI-Powered Differential Diagnosis (Educational) | |
| Input at least 3 comma-separated symptoms to generate differential diagnoses. | |
| The model uses TF-IDF similarity over your dataset to suggest likely conditions and display reasoning steps. | |
| ## Features | |
| - Ranks possible diagnoses with similarity scores | |
| - Shows few-shot examples from your dataset | |
| - Displays a reasoning chain and hypothesis tree | |
| - Educational use only (not medical advice) | |
| ## Files Required | |
| - `app.py` | |
| - `requirements.txt` | |
| - `differential_diagnosis_dataset.csv` | |
| ## Run Locally | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py | |
| ``` | |
| Then open [http://127.0.0.1:7860](http://127.0.0.1:7860). | |
| ## Deployment Steps | |
| 1. Go to your Hugging Face Space. | |
| 2. Click **Files and versions → Add file → Upload files**. | |
| 3. Upload the files listed above. | |
| 4. Commit changes and wait for the build to finish. | |
| ## Safety | |
| This app is for **educational use only**. | |
| Do **not** use it for medical decisions. | |
| If you have symptoms, contact a licensed healthcare provider. | |