Noe831 commited on
Commit
10579cc
·
1 Parent(s): bff4d56
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,6 +12,6 @@ def classify_image(img):
12
 
13
  examples = ['grizzly.jpg']
14
 
15
- demo = gr.Interface(fn=classify_image,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label())
16
  if __name__ == "__main__":
17
  demo.launch()
 
12
 
13
  examples = ['grizzly.jpg']
14
 
15
+ demo = gr.Interface(classify_image, gr.inputs.Image(shape=(512, 512)), gr.outputs.Label())
16
  if __name__ == "__main__":
17
  demo.launch()