kolkhi commited on
Commit
65b68de
·
verified ·
1 Parent(s): dfb13c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ def classify_bear(img):
9
  pred,idx,probs=learner.predict(img)
10
  return dict(zip(categories, map(float,probs)))
11
 
 
12
  image = gr.inputs.Image(shape=(192,192))
13
  label = gr.outputs.Label()
14
  examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
 
9
  pred,idx,probs=learner.predict(img)
10
  return dict(zip(categories, map(float,probs)))
11
 
12
+
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()
15
  examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]