Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ with gr.Blocks(title="DETR Object Detection - ClassCat",
|
|
| 86 |
input_image = gr.Image(label="Input image", type="pil")
|
| 87 |
output_image = gr.Image(label="Output image with predicted instances", type="pil")
|
| 88 |
|
| 89 |
-
gr.Examples(['samples/macau.jpg', 'samples/flamingo.
|
| 90 |
#add photo name
|
| 91 |
gr.HTML("""<br/>""")
|
| 92 |
gr.HTML("""<h4 style="color:navy;">3. Then, click "Infer" button to predict object instances. It will take about 10 seconds (on cpu)</h4>""")
|
|
|
|
| 86 |
input_image = gr.Image(label="Input image", type="pil")
|
| 87 |
output_image = gr.Image(label="Output image with predicted instances", type="pil")
|
| 88 |
|
| 89 |
+
gr.Examples(['samples/macau.jpg', 'samples/flamingo.jpg', 'samples/muffin.png', 'samples/oshijoshi.png'], inputs=input_image)
|
| 90 |
#add photo name
|
| 91 |
gr.HTML("""<br/>""")
|
| 92 |
gr.HTML("""<h4 style="color:navy;">3. Then, click "Infer" button to predict object instances. It will take about 10 seconds (on cpu)</h4>""")
|