Dimitre commited on
Commit
62c65d0
·
1 Parent(s): 80028a8

Adding examples

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,6 +30,7 @@ def predict_fn(image):
30
  return scores
31
 
32
  iface = gr.Interface(fn=predict_fn,
33
- inputs=gr.Image(shape=(224, 224)),
34
- outputs=gr.Label(num_top_classes=5))
 
35
  iface.launch()
 
30
  return scores
31
 
32
  iface = gr.Interface(fn=predict_fn,
33
+ inputs=gr.Image(shape=(224, 224)),
34
+ outputs=gr.Label(num_top_classes=5),
35
+ examples=["apples.jpeg", "banana.jpeg", "car.jpeg"])
36
  iface.launch()