Loading repository data…
Loading repository data…
SyedAbbas-02 / repository
AI-powered Diabetes Prediction Web App using the PIMA Indian Diabetes Dataset. Built with Flask, scikit-learn (SVM model), and HTML/CSS. Features include interactive health tools and an integrated AI chatbot (Voiceflow + Replit + OpenRouter API) for personalized guidance.
A machine learning–based web application that predicts diabetes risk based on user health data & also provides an AI chatbot assistant for interactive guidance.
Final2.pkl)diabetes.csv)Trained Models:
Best Model:
Final2.pkl and used in the deployed appHomepage
🤖 AI Chatbot
Health Tools
Diabetes Checkup Form
Diabetes_prediction_project/
│
├── main.py # Flask app entry point
├── proj2.ipynb # Jupyter Notebook for training models
├── diabetes.csv # Dataset (PIMA Indian Diabetes Dataset)
├── Final2.pkl # SVM model used for prediction
├── scaler.pkl # Scaler for preprocessing
├── templates/ # HTML frontend
├── Home.html # Homepage with AI chatbot
├── Test.html
├── AboutUs.html
├── Diet&Exer.html
├── ExpertAdv.html
├── HealthTools.html
└── prac.html
├── static/ # CSS, images, and other static assets
├── Css/
├── index.css
├── aboutus.css
├── test.css
└── ...
└── image/
├── logo.png
├── bg.avif
├── Homepage.png
└── ...
└── README.md # Project documentation
git clone https://github.com/SyedAbbas-02/Diabetes_prediction_project.git
cd Diabetes_prediction_project
pip install flask
pip install scikit-learn
python main.py