Spaces:
Runtime error
Runtime error
eeshawn
commited on
Commit
·
26a86b9
1
Parent(s):
0af5e91
update app.py
Browse files
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, slider, outputs]), inputs=[image, slider, 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[0], slider[0], outputs], outputs=None, preprocess=False)
|
85 |
|
86 |
if __name__ == "__main__":
|
87 |
demo.queue(api_open=False, max_size=10)
|