Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,10 @@ iface_labels = gr.Interface(
|
|
| 79 |
|
| 80 |
iface_tapped = gr.Interface(
|
| 81 |
[iface_switch, iface_labels],
|
|
|
|
|
|
|
| 82 |
title="Object Detection and Labels",
|
| 83 |
-
|
| 84 |
allow_flagging=False
|
| 85 |
)
|
| 86 |
|
|
|
|
| 79 |
|
| 80 |
iface_tapped = gr.Interface(
|
| 81 |
[iface_switch, iface_labels],
|
| 82 |
+
inputs="file",
|
| 83 |
+
outputs="image",
|
| 84 |
title="Object Detection and Labels",
|
| 85 |
+
description="Upload an image and switch between object detection with boxes and displaying detected object labels as text.",
|
| 86 |
allow_flagging=False
|
| 87 |
)
|
| 88 |
|