danieladejumo commited on
Commit
103d08c
1 Parent(s): e7d036c

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ def classify_images(im):
8
  cat, idx, probs = learn.predict(im)
9
  return dict(zip(classes, map(float, probs)))
10
 
11
- image = gr.inputs.Image(shape=(192, 192))
12
- label = gr.outputs.Label()
13
  examples = ["forest.jpg", "bird.jpg"]
14
 
15
  iface = gr.Interface(fn=classify_images,
 
8
  cat, idx, probs = learn.predict(im)
9
  return dict(zip(classes, map(float, probs)))
10
 
11
+ image = gr.Image(shape=(192, 192))
12
+ label = gr.Label()
13
  examples = ["forest.jpg", "bird.jpg"]
14
 
15
  iface = gr.Interface(fn=classify_images,