Spaces:
Sleeping
Sleeping
williamagyapong
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -119,7 +119,7 @@ def process_user_msg(message, mobile):
|
|
119 |
else:
|
120 |
# Persist transaction data temporarily for Create, Update, or Delete operations
|
121 |
persist_temporary_transaction(parsed_trans_data, mobile)
|
122 |
-
|
123 |
# Give user the chance to confirm/cancel transaction before processing other intents
|
124 |
messenger_reply_button(mobile, f"Raw Response: {response}, \n \n Parsed Response: {parsed_trans_data}")
|
125 |
|
|
|
119 |
else:
|
120 |
# Persist transaction data temporarily for Create, Update, or Delete operations
|
121 |
persist_temporary_transaction(parsed_trans_data, mobile)
|
122 |
+
messenger.send_message(f"{response} \n\n {parsed_trans_data}", mobile)
|
123 |
# Give user the chance to confirm/cancel transaction before processing other intents
|
124 |
messenger_reply_button(mobile, f"Raw Response: {response}, \n \n Parsed Response: {parsed_trans_data}")
|
125 |
|