Text_classification / README.md
Tantawi's picture
Upload 13 files
f2a4578 verified
---
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