Update app.py
Browse files
app.py
CHANGED
|
@@ -42,11 +42,11 @@ def main_func(HighBP, HighChol, CholCheck, BMI, Smoker, Stroke, HeartDiseaseorAt
|
|
| 42 |
return {"Low Chance": float(prob[0][0]), "High Chance": 1-float(prob[0][0])}, local_plot
|
| 43 |
|
| 44 |
# Create the UI
|
| 45 |
-
title = "**Diabetes Predictor & Interpreter**
|
| 46 |
description1 = """This app takes info from subjects and predicts their diabetes likelihood. Do not use for medical diagnosis."""
|
| 47 |
|
| 48 |
description2 = """
|
| 49 |
-
To use the app,
|
| 50 |
"""
|
| 51 |
|
| 52 |
|
|
|
|
| 42 |
return {"Low Chance": float(prob[0][0]), "High Chance": 1-float(prob[0][0])}, local_plot
|
| 43 |
|
| 44 |
# Create the UI
|
| 45 |
+
title = "**Diabetes Predictor & Interpreter** "
|
| 46 |
description1 = """This app takes info from subjects and predicts their diabetes likelihood. Do not use for medical diagnosis."""
|
| 47 |
|
| 48 |
description2 = """
|
| 49 |
+
To use the app, pick the most applicable option for you, or adjust the values of the factors, and click on Analyze.
|
| 50 |
"""
|
| 51 |
|
| 52 |
|