Spaces:
Runtime error
Runtime error
predict1
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ title = "Object Detection Model😀😀"
|
|
| 59 |
description = "A Object Detection model based on pretrained resnet neural network"
|
| 60 |
article = "Created by [Rounak Gera](https://github.com/rounak890)"
|
| 61 |
|
| 62 |
-
demo = gr.Interface(fn=
|
| 63 |
outputs= [gr.components.Label(num_top_classes = 4, label = "Predictions"),
|
| 64 |
gr.components.Image(type = "pil",label = "predicted")],
|
| 65 |
title = title,
|
|
|
|
| 59 |
description = "A Object Detection model based on pretrained resnet neural network"
|
| 60 |
article = "Created by [Rounak Gera](https://github.com/rounak890)"
|
| 61 |
|
| 62 |
+
demo = gr.Interface(fn=predict1, inputs=[gr.components.Image(type="pil", label="Image 1")],
|
| 63 |
outputs= [gr.components.Label(num_top_classes = 4, label = "Predictions"),
|
| 64 |
gr.components.Image(type = "pil",label = "predicted")],
|
| 65 |
title = title,
|