Spaces:
Sleeping
Sleeping
williamagyapong
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -111,8 +111,7 @@ def persist_temporary_transaction(transactions, mobile):
|
|
111 |
def process_user_msg(message, mobile):
|
112 |
response = str(generateResponse(message))
|
113 |
parsed_trans_data = parse_multiple_transactions(response)
|
114 |
-
#
|
115 |
-
messenger.send_message(f"{response} \n\n {parsed_trans_data}", mobile)
|
116 |
|
117 |
logging.info(f"\nAnswer: {response}\n")
|
118 |
intent = parsed_trans_data[0]['intent'].lower()
|
|
|
111 |
def process_user_msg(message, mobile):
|
112 |
response = str(generateResponse(message))
|
113 |
parsed_trans_data = parse_multiple_transactions(response)
|
114 |
+
# messenger.send_message(f"{response} \n\n {parsed_trans_data}", mobile)
|
|
|
115 |
|
116 |
logging.info(f"\nAnswer: {response}\n")
|
117 |
intent = parsed_trans_data[0]['intent'].lower()
|