asquirous commited on
Commit
da62594
·
1 Parent(s): ebab755

Add print() to debug

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ def classify_image(img):
8
  img = PILImage.create(img)
9
  pred, idx, probs = learn.predict(img)
10
  output = dict(zip(labels, map(float, probs)))
 
11
  for out in output:
12
  val = output[out]
13
  if val < 60:
 
8
  img = PILImage.create(img)
9
  pred, idx, probs = learn.predict(img)
10
  output = dict(zip(labels, map(float, probs)))
11
+ print(probs)
12
  for out in output:
13
  val = output[out]
14
  if val < 60: