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

add gradio interface

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,4 +14,6 @@ def predict(img):
14
 
15
  title = "Fruit Classifier"
16
 
 
 
17
 
 
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