Spaces:
Paused
Paused
done
Browse files
app.py
CHANGED
@@ -168,8 +168,8 @@ def retry_last_answer(
|
|
168 |
|
169 |
if chatbot and history:
|
170 |
# Removing the previous conversation from chat
|
171 |
-
|
172 |
-
chatbot[-1] = (chatbot[-1][0],)
|
173 |
#history[-1] = (history[-1][0],)
|
174 |
# Setting up a flag to capture a retry
|
175 |
RETRY_FLAG = True
|
|
|
168 |
|
169 |
if chatbot and history:
|
170 |
# Removing the previous conversation from chat
|
171 |
+
chatbot.pop(-1)
|
172 |
+
#chatbot[-1] = (chatbot[-1][0],)
|
173 |
#history[-1] = (history[-1][0],)
|
174 |
# Setting up a flag to capture a retry
|
175 |
RETRY_FLAG = True
|