Spaces:
Paused
Paused
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -256,7 +256,7 @@ def main():
|
|
256 |
with gr.Tab('Setup Handle Points', id='input'):
|
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])
|
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]
|
|
|
256 |
with gr.Tab('Setup Handle Points', id='input'):
|
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]
|