Spaces:
Sleeping
Sleeping
Add interactive flag to match other image input
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ if __name__ == "__main__":
|
|
| 132 |
with gr.Tab("Object Detection", id='yolos'):
|
| 133 |
with gr.Row(equal_height=False):
|
| 134 |
with gr.Group():
|
| 135 |
-
yolos_input = gr.Image(label="Input Image", type="pil", mirror_webcam=False)
|
| 136 |
yolos_submit = gr.Button("Detect Objects", interactive=False)
|
| 137 |
with gr.Group():
|
| 138 |
yolos_gallery = gr.Gallery(label="Detected Objects", object_fit="scale-down", columns=3,
|
|
|
|
| 132 |
with gr.Tab("Object Detection", id='yolos'):
|
| 133 |
with gr.Row(equal_height=False):
|
| 134 |
with gr.Group():
|
| 135 |
+
yolos_input = gr.Image(label="Input Image", type="pil", interactive=True, mirror_webcam=False)
|
| 136 |
yolos_submit = gr.Button("Detect Objects", interactive=False)
|
| 137 |
with gr.Group():
|
| 138 |
yolos_gallery = gr.Gallery(label="Detected Objects", object_fit="scale-down", columns=3,
|