eeshawn commited on
Commit
0af5e91
·
1 Parent(s): ddd3872

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ with gr.Blocks() as demo:
81
 
82
  clear_form.click(fn=clear, inputs=None, outputs=[image[0], slider[0], outputs], show_progress=False)
83
  submit.click(fn=seal_detection, inputs=[image[0], slider[0]], outputs=outputs)
84
- flag.click(lambda *args: callback.flag([image[0], slider[0], outputs]), inputs=[image[0], slider[0], outputs], outputs=None, preprocess=False)
85
 
86
  if __name__ == "__main__":
87
  demo.queue(api_open=False, max_size=10)
 
81
 
82
  clear_form.click(fn=clear, inputs=None, outputs=[image[0], slider[0], outputs], show_progress=False)
83
  submit.click(fn=seal_detection, inputs=[image[0], slider[0]], outputs=outputs)
84
+ flag.click(lambda *args: callback.flag([image, slider, outputs]), inputs=[image, slider, outputs], outputs=None, preprocess=False)
85
 
86
  if __name__ == "__main__":
87
  demo.queue(api_open=False, max_size=10)