OuroborosM commited on
Commit
699c648
·
1 Parent(s): ad0bfa9
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -673,6 +673,10 @@ def clearall():
673
  memory.clear()
674
  return []
675
 
 
 
 
 
676
  with gr.Blocks() as demo:
677
  # gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
678
  # main = gr.ChatInterface(
 
673
  memory.clear()
674
  return []
675
 
676
+ def retry(chatbot_history):
677
+ last_request = chatbot_history[-1:][0]
678
+ yield chathmi3(last_request, chatbot_history)
679
+
680
  with gr.Blocks() as demo:
681
  # gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
682
  # main = gr.ChatInterface(