alexkueck commited on
Commit
c65758e
·
1 Parent(s): fb40135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -491,14 +491,12 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
491
  )
492
 
493
  #predict_event1 = user_input.submit(add_text, [chatbot, user_input], [chatbot, user_input], queue=False,).then(**predict_args)
494
- predict_event3 = btn.upload(add_file, [chatbot, btn, user_input], [chatbot, user_input],queue=False,).then(**predict_args)
495
- predict_event2 = submitBtn.click(**transfer_input_args,queue=False,).then(**predict_args)
496
 
497
  cancelBtn.click(
498
  cancel_outputing, [], [status_display],
499
- cancels=[
500
- predict_event2, predict_event3 #predict_event1,
501
- ]
502
  )
503
  demo.title = "LI-ChatBot"
504
 
 
491
  )
492
 
493
  #predict_event1 = user_input.submit(add_text, [chatbot, user_input], [chatbot, user_input], queue=False,).then(**predict_args)
494
+ #predict_event3 = btn.upload(add_file, [chatbot, btn, user_input], [chatbot, user_input],queue=False,).then(**predict_args)
495
+ #predict_event2 = submitBtn.click(**transfer_input_args,queue=False,).then(**predict_args)
496
 
497
  cancelBtn.click(
498
  cancel_outputing, [], [status_display],
499
+ #cancels=[predict_event1,predict_event2, predict_event3 ]
 
 
500
  )
501
  demo.title = "LI-ChatBot"
502