Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,8 +76,8 @@ temp = st.number_input("Temp", 0, 100)
|
|
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 |
-
|
81 |
else:
|
82 |
-
result=0
|
83 |
-
st.write("Sensör
|
|
|
76 |
if st.button("Predict"):
|
77 |
pred = fail(footfall, atemp, selfLR, ClinLR, DoleLR, PID, outpressure, inpressure, temp)
|
78 |
if pred>=1:
|
79 |
+
result ="1; Sensör çalışıyor, işe devam edebilir"
|
80 |
+
|
81 |
else:
|
82 |
+
result="0 Sensör arızalı, lütfen sensörü kontrol ediniz "
|
83 |
+
st.write("Sensör Durumu", result)
|