ysharma HF staff commited on
Commit
71f48b3
1 Parent(s): bb35fe1
Files changed (1) hide show
  1. app.py +2 -2
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
- #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
 
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