Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|