Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -194,7 +194,7 @@ def on_snapshot(doc_snapshot, changes, read_time):
|
|
194 |
print(f"New data detected: {new_data}")
|
195 |
concentration=predict_conc(field1)
|
196 |
if concentration==0:
|
197 |
-
send_msg(
|
198 |
|
199 |
else:
|
200 |
send_msg(concentration,"You may boil the water to 50°C to eradicate the bacteria.")
|
|
|
194 |
print(f"New data detected: {new_data}")
|
195 |
concentration=predict_conc(field1)
|
196 |
if concentration==0:
|
197 |
+
send_msg(0,"The water is safe for use!!")
|
198 |
|
199 |
else:
|
200 |
send_msg(concentration,"You may boil the water to 50°C to eradicate the bacteria.")
|