Spaces:
Paused
Paused
Update gradio_app.py
Browse files- gradio_app.py +2 -2
gradio_app.py
CHANGED
@@ -257,8 +257,8 @@ def main():
|
|
257 |
image = gr.Image(to_image(sample)).style(height=768, width=768)
|
258 |
|
259 |
image.select(on_click, [image, target_point, points, size], [image, text, target_point], queue=False)
|
260 |
-
btn.click(on_drag, inputs=[model, points, max_iters, state, size, mask], outputs=[image, state, progress])
|
261 |
-
on_show_save, outputs=save_panel)#.then(
|
262 |
#on_save_files, inputs=[image, state], outputs=[files]
|
263 |
# )
|
264 |
reset_btn.click(on_reset, inputs=[points, image, state], outputs=[points, image])
|
|
|
257 |
image = gr.Image(to_image(sample)).style(height=768, width=768)
|
258 |
|
259 |
image.select(on_click, [image, target_point, points, size], [image, text, target_point], queue=False)
|
260 |
+
btn.click(on_drag, inputs=[model, points, max_iters, state, size, mask], outputs=[image, state, progress])#.then(
|
261 |
+
#on_show_save, outputs=save_panel)#.then(
|
262 |
#on_save_files, inputs=[image, state], outputs=[files]
|
263 |
# )
|
264 |
reset_btn.click(on_reset, inputs=[points, image, state], outputs=[points, image])
|