Spaces:
Build error
Build error
Commit
·
53aa3a4
1
Parent(s):
2032a93
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,11 +30,7 @@ X = pd.DataFrame([[
|
|
| 30 |
# Get prediction
|
| 31 |
prediction = clf.predict(X)[0]
|
| 32 |
|
| 33 |
-
|
| 34 |
-
if prediction == 0:
|
| 35 |
-
st.text("No Diabetes")
|
| 36 |
-
else:
|
| 37 |
-
st.text("Diabetes")
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 30 |
# Get prediction
|
| 31 |
prediction = clf.predict(X)[0]
|
| 32 |
|
| 33 |
+
st.text(prediction)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
|