Gopikanth123 commited on
Commit
55c62a2
·
verified ·
1 Parent(s): a4215f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def predict(image):
36
  }
37
 
38
  # Create the Gradio interface
39
- inputs = gr.inputs.Image()
40
- outputs = gr.outputs.Label(num_top_classes=3)
41
 
42
  gr.Interface(fn=predict, inputs=inputs, outputs=outputs).launch()
 
36
  }
37
 
38
  # Create the Gradio interface
39
+ inputs = gr.components.Image()
40
+ outputs = gr.components.Label(num_top_classes=3)
41
 
42
  gr.Interface(fn=predict, inputs=inputs, outputs=outputs).launch()