dlaima commited on
Commit
cdea0e4
·
verified ·
1 Parent(s): 0f21565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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"