yunuseduran commited on
Commit
b37bac5
·
verified ·
1 Parent(s): ab86df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -85,8 +85,5 @@ temp = st.number_input("Temp", 0, 100)
85
 
86
  if st.button("Predict"):
87
  pred = fail(footfall, atemp, selfLR, ClinLR, DoleLR, PID, outpressure, inpressure, temp)
88
- if pred >= 1:
89
- result = 1
90
- else:
91
- result = 0
92
- st.write("Sensör Durumu ", result)
 
85
 
86
  if st.button("Predict"):
87
  pred = fail(footfall, atemp, selfLR, ClinLR, DoleLR, PID, outpressure, inpressure, temp)
88
+
89
+ st.write("Sensör Durumu ", abs(int(pred)))