Spaces:
Paused
Paused
updt
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def retry_last_answer(
|
|
174 |
# Setting up a flag to capture a retry
|
175 |
RETRY_FLAG = True
|
176 |
# Getting last message from user
|
177 |
-
|
178 |
# Removing bot response from the history
|
179 |
history.pop(-1)
|
180 |
|
|
|
174 |
# Setting up a flag to capture a retry
|
175 |
RETRY_FLAG = True
|
176 |
# Getting last message from user
|
177 |
+
user_input = history[-1][0]
|
178 |
# Removing bot response from the history
|
179 |
history.pop(-1)
|
180 |
|