Neurolingua commited on
Commit
1a1cf31
1 Parent(s): 691414c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -329,7 +329,12 @@ def incoming_whatsapp():
329
 
330
  message.body("I'm sorry, I don't understand that command.")
331
  return str(response)
332
-
 
 
 
 
333
  if __name__ == "__main__":
334
  send_initial_message('919080522395')
 
335
  app.run(host='0.0.0.0', port=7860)
 
329
 
330
  message.body("I'm sorry, I don't understand that command.")
331
  return str(response)
332
+ def send_initial_message(to_number):
333
+ send_message(
334
+ f'whatsapp:{to_number}',
335
+ 'Welcome to the Agri AI Chatbot! How can I assist you today? You can send an image with "pest" or "disease" to classify it.'
336
+ )
337
  if __name__ == "__main__":
338
  send_initial_message('919080522395')
339
+ send_initial_message('916382792828')
340
  app.run(host='0.0.0.0', port=7860)