Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ def predict():
|
|
24 |
il = request.form.get("il")
|
25 |
age = request.form.get("age")
|
26 |
features = np.array([[preg,gl,bp,skin,il,bmi,dp,age]])
|
|
|
27 |
pred = load.predict(features)
|
28 |
if pred == 1 :
|
29 |
output = "Yes, you have Diabaties."
|
|
|
24 |
il = request.form.get("il")
|
25 |
age = request.form.get("age")
|
26 |
features = np.array([[preg,gl,bp,skin,il,bmi,dp,age]])
|
27 |
+
print(features)
|
28 |
pred = load.predict(features)
|
29 |
if pred == 1 :
|
30 |
output = "Yes, you have Diabaties."
|