reshane commited on
Commit
a694cf2
·
1 Parent(s): e56b727
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ categories = ('Poison Ivy', 'Not Poison Ivy')
13
 
14
  def classify_image(img):
15
  pred,idx,probs = learn.predict(img)
16
- return dict(zip(categories, map(float,probs))
17
 
18
  image = gr.inputs.Image(shape=(192, 192))
19
  label = gr.outputs.Label()
 
13
 
14
  def classify_image(img):
15
  pred,idx,probs = learn.predict(img)
16
+ return dict(zip(categories, map(float,probs)))
17
 
18
  image = gr.inputs.Image(shape=(192, 192))
19
  label = gr.outputs.Label()