Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,6 +29,10 @@ iface = gr.Interface(
|
|
| 29 |
gr.Image(label="Image with Detected Objects", type="pil"),
|
| 30 |
gr.Textbox(label="Summary of Detected Objects")
|
| 31 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
title="Object Detection with DETR",
|
| 33 |
description="Upload an image to detect objects. Bounding boxes will be drawn and a natural language summary will be provided.",
|
| 34 |
flagging_mode="never"
|
|
|
|
| 29 |
gr.Image(label="Image with Detected Objects", type="pil"),
|
| 30 |
gr.Textbox(label="Summary of Detected Objects")
|
| 31 |
],
|
| 32 |
+
examples=[
|
| 33 |
+
["examples/kittens.jpeg"],
|
| 34 |
+
["examples/beach.jpeg"]
|
| 35 |
+
],
|
| 36 |
title="Object Detection with DETR",
|
| 37 |
description="Upload an image to detect objects. Bounding boxes will be drawn and a natural language summary will be provided.",
|
| 38 |
flagging_mode="never"
|