alexkueck commited on
Commit
a9c1b77
1 Parent(s): 064c8f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -725,11 +725,11 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
725
  transfer_input_args2 = dict(
726
  fn=add_text2, inputs=[chatbot_bild, user_input2], outputs=[chatbot_bild, user_question2, user_input2], show_progress=True
727
  )
728
- predict_event2_1 = user_input.submit(**transfer_input_args2, queue=False,).then(**predict_args2)
729
- predict_event2_2 = submitBtn.click(**transfer_input_args2, queue=False,).then(**predict_args2)
730
  #emptyBtn2.click(clear_all, [], [file_display, image_display])
731
 
732
- cancelBtn.click(
733
  cancels=[predict_event2_1,predict_event2_2 ]
734
  )
735
 
 
725
  transfer_input_args2 = dict(
726
  fn=add_text2, inputs=[chatbot_bild, user_input2], outputs=[chatbot_bild, user_question2, user_input2], show_progress=True
727
  )
728
+ predict_event2_1 = user_input2.submit(**transfer_input_args2, queue=False,).then(**predict_args2)
729
+ predict_event2_2 = submitBtn2.click(**transfer_input_args2, queue=False,).then(**predict_args2)
730
  #emptyBtn2.click(clear_all, [], [file_display, image_display])
731
 
732
+ cancelBtn2.click(
733
  cancels=[predict_event2_1,predict_event2_2 ]
734
  )
735