Neurolingua commited on
Commit
d3d3acb
·
verified ·
1 Parent(s): fa7d405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -90,6 +90,11 @@ def send_message(to, body):
90
  print(f"Message sent with SID: {message.sid}")
91
  except Exception as e:
92
  print(f"Error sending message: {e}")
 
 
 
 
 
93
 
94
  if __name__ == "__main__":
95
  send_initial_message('919080522395')
 
90
  print(f"Message sent with SID: {message.sid}")
91
  except Exception as e:
92
  print(f"Error sending message: {e}")
93
+ def send_initial_message(to_number):
94
+ send_message(
95
+ f'whatsapp:{to_number}',
96
+ 'Welcome to the Agri AI Chatbot! How can I assist you today? You can send an image with "pest" or "disease" to classify it.'
97
+ )
98
 
99
  if __name__ == "__main__":
100
  send_initial_message('919080522395')