Neurolingua commited on
Commit
ec0595a
·
verified ·
1 Parent(s): f76692c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -92,6 +92,8 @@ def whatsapp_webhook():
92
  response_text = generate_response('Summarise and provide the top 5 news in india as bullet points' + ' Data is ' + str(news), chat_history)
93
  elif ('pdf' in incoming_msg.lower()):
94
  response_text =respond_pdf(incoming_msg)
 
 
95
  else:
96
  response_text = generate_response(incoming_msg, chat_history)
97
 
 
92
  response_text = generate_response('Summarise and provide the top 5 news in india as bullet points' + ' Data is ' + str(news), chat_history)
93
  elif ('pdf' in incoming_msg.lower()):
94
  response_text =respond_pdf(incoming_msg)
95
+ elif ('farm data' in incoming_msg.lower()):
96
+ response_text =' Click the link to monitor your farm.\n https://huggingface.co/spaces/Neurolingua/Smart-Agri-system'
97
  else:
98
  response_text = generate_response(incoming_msg, chat_history)
99