Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,8 +93,8 @@ def whatsapp_webhook():
|
|
93 |
weather = get_weather(incoming_msg.lower())
|
94 |
response_text = generate_response(incoming_msg + ' data is ' + weather+"convert to celcius.Make sure you return only answer.", chat_history)
|
95 |
elif 'bookkeeping' in incoming_msg:
|
96 |
-
|
97 |
-
response_text =
|
98 |
elif ('rates' in incoming_msg.lower()) or ('price' in incoming_msg.lower()) or (
|
99 |
'market' in incoming_msg.lower()) or ('rate' in incoming_msg.lower()) or ('prices' in incoming_msg.lower()):
|
100 |
rates = get_rates()
|
|
|
93 |
weather = get_weather(incoming_msg.lower())
|
94 |
response_text = generate_response(incoming_msg + ' data is ' + weather+"convert to celcius.Make sure you return only answer.", chat_history)
|
95 |
elif 'bookkeeping' in incoming_msg:
|
96 |
+
bookkdata=return_bookdata(incoming_msg,bookdata)
|
97 |
+
response_text = bookkdata
|
98 |
elif ('rates' in incoming_msg.lower()) or ('price' in incoming_msg.lower()) or (
|
99 |
'market' in incoming_msg.lower()) or ('rate' in incoming_msg.lower()) or ('prices' in incoming_msg.lower()):
|
100 |
rates = get_rates()
|