This project is like having a doctor by your side 24/7 for quick checkups. I developed a web application using machine learning powered flask backend and next frontend to take symptoms as input and delivers recommendations based on sophisticated model predictions. The system integrates diverse datasets covering medicines, diets, exercises, and disease descriptions to offer comprehensive recommendations tailored to predicted ailments. It’s better than Google telling you that you have cancer for a minor cough.
You can view the website here.Please note that the api is deployed on the free tier in Render which delays requests by 50 seconds,so feel free to spam click on that predict button.All good things take time xd or you can always see the demo below.
- Frontend: Next.js for a responsive user interface deployed on Vercel.
- Backend: Flask for API endpoints, hosted on render.
- Machine Learning: Support Vector Machine (SVM) model trained on a medical dataset for accurate predictions.
- Disease Prediction: Predicts possible diseases from symptoms entered by the user.
- Comprehensive Recommendations: Provides relevant medications, dietary suggestions, precautions, and workout tips.
- Error Handling: Improved error feedback for cases where symptoms are invalid or missing.
- Modern UI: A clean, user-friendly Next.js interface with modals for displaying detailed recommendations.
- Real-Time Communication: Deployed backend accessible via environment-configured API endpoints.
- Enter Symptoms: Type in symptoms separated by commas (e.g., "itching, cough").
- Get Prediction: Click on "Predict" to receive a possible disease diagnosis along with additional recommendations.
- View Details: Use buttons to open modals with more information on the predicted disease, medications, precautions, workouts, and diets.
- Clone this repository.
- Backend Setup:
- Install Python dependencies:
pip install -r requirements.txt
- Install Python dependencies:
- Frontend Setup:
- Install Node.js dependencies:
npm install
- Run the Next.js frontend locally:
npm run dev
- Install Node.js dependencies: