yunuseduran commited on
Commit
e878707
·
verified ·
1 Parent(s): 07f57cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -75,4 +75,8 @@ temp = st.number_input("Temp", 0, 100)
75
 
76
  if st.button("Predict"):
77
  pred = fail(footfall, atemp, selfLR, ClinLR, DoleLR, PID, outpressure, inpressure, temp)
78
- st.write("Predicted fail :information: ", abs(int(pred)))
 
 
 
 
 
75
 
76
  if st.button("Predict"):
77
  pred = fail(footfall, atemp, selfLR, ClinLR, DoleLR, PID, outpressure, inpressure, temp)
78
+ if pred>=1:
79
+ result =1
80
+ else
81
+ result=0
82
+ st.write("Predicted fail :information: ", result)