ak0601 commited on
Commit
92dc739
1 Parent(s): 6c8d6ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,6 +30,6 @@ def predict(image):
30
  return confidences, infer
31
 
32
  gr.Interface(fn=predict,
33
- inputs=gr.Image(shape=(512, 512)),
34
  outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Textbox('infer',label='Inference Time')],
35
  examples='1.jpg 2.jpg'.split(' ')).launch()
 
30
  return confidences, infer
31
 
32
  gr.Interface(fn=predict,
33
+ inputs=gr.Image(),
34
  outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Textbox('infer',label='Inference Time')],
35
  examples='1.jpg 2.jpg'.split(' ')).launch()