File size: 1,114 Bytes
f2a4578
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---

title: GP-Tea Symptom Checker
emoji: 🩺
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
license: apache-2.0
---


# GP-Tea Symptom Checker Service

A FastAPI-based AI service for medical symptom analysis using XGBoost machine learning. This service analyzes user-selected symptoms and provides disease predictions with confidence scores.

## Features

- 🩺 **Symptom Analysis**: Select from 297 medical symptoms for analysis
- 🤖 **AI-Powered Predictions**: XGBoost model trained on medical data
- 📊 **Confidence Scoring**: Get top 3 disease predictions with confidence percentages
- 🚀 **Fast API**: RESTful API with automatic documentation
- 🌐 **CORS Enabled**: Ready for web application integration
- 📋 **Health Monitoring**: Built-in health check endpoint

## Local Development

```bash

# Install dependencies

pip install -r requirements.txt



# Run the service

uvicorn main:app --host 0.0.0.0 --port 7860 --reload

```

# Make sure you're in the Text_classification directory



uvicorn main:app --host 0.0.0.0 --port 8002 --reload