Neurolingua commited on
Commit
1650632
·
verified ·
1 Parent(s): e18c564

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(concentration,"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.")
 
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.")