rgera commited on
Commit
2fc9149
·
1 Parent(s): 40574ce
Files changed (1) hide show
  1. app.py +1 -1
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=predict, 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,
 
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,