OuroborosM commited on
Commit
84283c6
·
1 Parent(s): 699c648

retry updated

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -736,7 +736,7 @@ with gr.Blocks() as demo:
736
  logs = gr.Textbox(max_lines = 25)
737
  # upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
738
  clear_button.click(clearall, None, chatbot)
739
- # retry_button.click(alltry, chatbot, chatbot)
740
  inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot])
741
  stop_button.click(read_logs, None, logs, cancels=[inf1])
742
  upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
 
736
  logs = gr.Textbox(max_lines = 25)
737
  # upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
738
  clear_button.click(clearall, None, chatbot)
739
+ retry_button.click(retry, chatbot, chatbot)
740
  inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot])
741
  stop_button.click(read_logs, None, logs, cancels=[inf1])
742
  upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)