danieladejumo commited on
Commit
e7d036c
1 Parent(s): 19d1a8d

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.inputs.Image(shape=(192, 192))
12
+ label = gr.outputs.Label()
13
  examples = ["forest.jpg", "bird.jpg"]
14
 
15
  iface = gr.Interface(fn=classify_images,