Victorconrad commited on
Commit
1b9bb13
·
1 Parent(s): 4e4cb4f

Fix: Added Hugging Face metadata to README

Browse files
Files changed (1) hide show
  1. README.md +36 -8
README.md CHANGED
@@ -1,13 +1,41 @@
1
- <pre lang="yaml"> --- title: Diabetes Predictor emoji: 🧬 colorFrom: blue colorTo: green sdk: gradio app_file: app.py description: >- A simple machine learning app that predicts the likelihood of diabetes based on user inputs. license: mit --- </pre>
 
 
 
 
 
 
 
 
 
2
 
3
- # 🩺 Diabetes Risk Predictor
4
 
5
- This app uses a logistic regression model trained on the Pima Indians Diabetes dataset to predict whether a patient is diabetic based on medical features.
6
 
7
- ## How to Use
8
 
9
- - Clone or download the repository
10
- - Install dependencies: `pip install -r requirements.txt`
11
- - Run the app: `python diabetes_app.py`
12
 
13
- Built using Gradio and scikit-learn.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Diabetes Predictor
3
+ emoji: 🧬
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: "4.24.0"
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
 
12
+ # Diabetes Predictor
13
 
14
+ This is a simple web app that uses a machine learning model to predict the likelihood of diabetes based on user health information such as glucose level, BMI, age, etc.
15
 
16
+ Built with **Gradio** and hosted on **Hugging Face Spaces**.
17
 
18
+ ## How it Works
 
 
19
 
20
+ The app takes several health metrics from the user:
21
+
22
+ - Pregnancies
23
+ - Glucose
24
+ - Blood Pressure
25
+ - Skin Thickness
26
+ - Insulin
27
+ - BMI
28
+ - Diabetes Pedigree Function
29
+ - Age
30
+
31
+ It then predicts whether the person is likely to have diabetes or not using a trained ML model.
32
+
33
+ ## Try it out!
34
+
35
+ Simply enter the values and hit **Submit** to see the prediction.
36
+
37
+ ---
38
+
39
+ ## License
40
+
41
+ MIT