alexkueck commited on
Commit
aca0e22
1 Parent(s): 26a5193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -718,7 +718,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
718
  predict_event1 = user_input.submit(**transfer_input_args, queue=False,).then(**predict_args)
719
  predict_event2 = submitBtn.click(**transfer_input_args, queue=False,).then(**predict_args)
720
  predict_event3 = upload.upload(file_anzeigen, [upload], [image_display, image_display, attached_file] ) #.then(**predict_args)
721
- #emptyBtn.click(clear_all, [], [attached_file, image_display])
722
 
723
  #Berechnung oder Ausgabe anhalten (kann danach fortgesetzt werden)
724
  cancelBtn.click(cancel_outputing, [], [status_display], cancels=[predict_event1,predict_event2, predict_event3])
 
718
  predict_event1 = user_input.submit(**transfer_input_args, queue=False,).then(**predict_args)
719
  predict_event2 = submitBtn.click(**transfer_input_args, queue=False,).then(**predict_args)
720
  predict_event3 = upload.upload(file_anzeigen, [upload], [image_display, image_display, attached_file] ) #.then(**predict_args)
721
+ emptyBtn.click(clear_all, [], [attached_file, image_display])
722
 
723
  #Berechnung oder Ausgabe anhalten (kann danach fortgesetzt werden)
724
  cancelBtn.click(cancel_outputing, [], [status_display], cancels=[predict_event1,predict_event2, predict_event3])