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

Update if condition in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def classify_image(img):
10
  output = dict(zip(labels, map(float, probs)))
11
  for out in output:
12
  val = output[out]
13
- if val*100 < 60:
14
  return {"Not Sure/Others": 0}
15
  return output
16
 
 
10
  output = dict(zip(labels, map(float, probs)))
11
  for out in output:
12
  val = output[out]
13
+ if val < 60:
14
  return {"Not Sure/Others": 0}
15
  return output
16