ireneng commited on
Commit
f28bee9
1 Parent(s): 12b6b62

fix input and output components

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,6 +14,6 @@ def predict(img):
14
 
15
  title = "Fruit Classifier"
16
 
17
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=6), title=title)
18
 
19
 
 
14
 
15
  title = "Fruit Classifier"
16
 
17
+ gr.Interface(fn=predict, inputs="image", outputs="label",title=title)
18
 
19