Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,5 +85,9 @@ 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 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
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 ; Sensör çalışıyor işe devam edebilirsiniz"
|
90 |
+
else:
|
91 |
+
result ="0 ; Sensör arızalı lütfen kontrol ediniz"
|
92 |
+
|
93 |
+
st.write("Sensör Durumu ", result)
|