--- 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