uhlarlar commited on
Commit
8a20b98
·
1 Parent(s): 63b90bf

fixed another typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ categories = learn.dls.vocab
8
 
9
  def classify_image(img):
10
  pred, idx, probs = learn.predict(img)
11
- return dict(zip(categories, (map(float, probs))))
12
 
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()
 
8
 
9
  def classify_image(img):
10
  pred, idx, probs = learn.predict(img)
11
+ return dict(zip(categories, map(float, probs)))
12
 
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()