Neurolingua commited on
Commit
ab84141
1 Parent(s): 880b9c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def whatsapp_webhook():
82
  response_text = generate_response(incoming_msg + ' data is ' + rates, chat_history)
83
  elif ('news' in incoming_msg.lower()) or ('information' in incoming_msg.lower()):
84
  news = get_news()
85
- response_text = generate_response(incoming_msg + ' data is ' + str(news), chat_history)
86
  elif ('pdf' in incoming_msg.lower()):
87
  response_text =respond_pdf(incoming_msg)
88
  else:
 
82
  response_text = generate_response(incoming_msg + ' data is ' + rates, chat_history)
83
  elif ('news' in incoming_msg.lower()) or ('information' in incoming_msg.lower()):
84
  news = get_news()
85
+ response_text = generate_response('Summarise and provide the top 5 news in india as bullet points' + ' Data is ' + str(news), chat_history)
86
  elif ('pdf' in incoming_msg.lower()):
87
  response_text =respond_pdf(incoming_msg)
88
  else: