ongkn commited on
Commit
fd64a1e
1 Parent(s): 092d7e9

style edit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def classify_image(input):
60
  elif result[0]["label"] == "pos" and result[0]["score"] > 0.95 and result[0]["score"] <= 0.98:
61
  return result[0]["label"], result[0]["score"], "WHOA!!!!", face, dffImage, gradCamImage
62
  elif result[0]["label"] == "pos" and result[0]["score"] >= 0.99:
63
- return result[0]["label"], result[0]["score"], "**ABSOLUTELY MINDBLOWING**", face, dffImage, gradCamImage
64
  else:
65
  return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
66
 
 
60
  elif result[0]["label"] == "pos" and result[0]["score"] > 0.95 and result[0]["score"] <= 0.98:
61
  return result[0]["label"], result[0]["score"], "WHOA!!!!", face, dffImage, gradCamImage
62
  elif result[0]["label"] == "pos" and result[0]["score"] >= 0.99:
63
+ return result[0]["label"], result[0]["score"], "** ABSOLUTELY MINDBLOWING **", face, dffImage, gradCamImage
64
  else:
65
  return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
66