ESCESC commited on
Commit
16520df
·
1 Parent(s): 487ca53

fixed a parantheses

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ learn = load_learner('model.pkl')
16
  categories = ('blanched hazelnut', 'walnut kernel')
17
  def classify_image(img):
18
  pred, idx, probs = learn.predict(img)
19
- return dict(zip(categories, map(float, probs))
20
 
21
  # %% ../app.ipynb 8
22
  image = gr.inputs.Image(shape(192,192))
 
16
  categories = ('blanched hazelnut', 'walnut kernel')
17
  def classify_image(img):
18
  pred, idx, probs = learn.predict(img)
19
+ return dict(zip(categories, map(float, probs)))
20
 
21
  # %% ../app.ipynb 8
22
  image = gr.inputs.Image(shape(192,192))