Ifeanyi commited on
Commit
22c942e
·
1 Parent(s): f1999bf

new update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,6 +8,6 @@ def image_classifier(image):
8
 
9
  gr.Interface(image_classifier,
10
  inputs = gr.inputs.Image(label = "Upload Image",type = "filepath"),
11
- outputs = gr.outputs.Label(num_top_classes = 5),
12
  theme = "dark",
13
  title = "Image classifier").launch(share = True)
 
8
 
9
  gr.Interface(image_classifier,
10
  inputs = gr.inputs.Image(label = "Upload Image",type = "filepath"),
11
+ outputs = ["classification"],
12
  theme = "dark",
13
  title = "Image classifier").launch(share = True)