Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,13 +71,9 @@ with app:
|
|
71 |
|
72 |
with gr.Row():
|
73 |
with gr.Column():
|
74 |
-
seg_btn = gr.Button(label="Run")
|
75 |
gal1=gr.Gallery(type="filepath").style(grid=4)
|
76 |
|
77 |
-
seg_btn.click(get_seg, inputs=[image_input,object_output], outputs=gal1)
|
78 |
image_input.change(get_seg, inputs=[image_input], outputs=[gal1,object_output])
|
79 |
-
|
80 |
-
#image_input.change(fn=image_objects,inputs=image_input,outputs=object_output)
|
81 |
|
82 |
|
83 |
|
|
|
71 |
|
72 |
with gr.Row():
|
73 |
with gr.Column():
|
|
|
74 |
gal1=gr.Gallery(type="filepath").style(grid=4)
|
75 |
|
|
|
76 |
image_input.change(get_seg, inputs=[image_input], outputs=[gal1,object_output])
|
|
|
|
|
77 |
|
78 |
|
79 |
|