wangjunjian commited on
Commit
c4a3f56
·
verified ·
1 Parent(s): 6298dc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -14,7 +14,11 @@ def get_pipeline_prediction(pil_image):
14
  demo = gr.Interface(
15
  fn = get_pipeline_prediction,
16
  inputs = gr.Image(label="Input image", type="pil"),
17
- outputs = gr.Image(label="Output image with predicted instances", type="pil")
 
 
 
 
18
  )
19
 
20
  demo.launch()
 
14
  demo = gr.Interface(
15
  fn = get_pipeline_prediction,
16
  inputs = gr.Image(label="Input image", type="pil"),
17
+ outputs = gr.Image(label="Output image with predicted instances", type="pil"),
18
+ title="Object Detection with DETR-ResNet-50",
19
+ description="Model Info: [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50)",
20
+ allow_flagging="never",
21
+ examples=["catdog.jpg", "bus.jpg"]
22
  )
23
 
24
  demo.launch()