reshane commited on
Commit
ccd7fce
·
1 Parent(s): ad1c4a7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ categories = ('Poison Ivy', 'Not Poison Ivy')
14
 
15
 
16
  def classify_image(img):
17
- pred,idx,probs = learn.predict(img)
18
  return dict(zip(categories, map(float,probs)))
19
 
20
  image = gr.Image(type="filepath", width=192, height=192)
 
14
 
15
 
16
  def classify_image(img):
17
+ pred,idx,probs = learner.predict(img)
18
  return dict(zip(categories, map(float,probs)))
19
 
20
  image = gr.Image(type="filepath", width=192, height=192)