ongkn commited on
Commit
7755c4c
1 Parent(s): a141a20

Update app.py

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:
61
  return result[0]["label"], result[0]["score"], str("WHOA!!!!"), face, dffImage, gradCamImage
62
  else:
63
- return result[0]["label"], result[0]["score"], "Indifferent", face, dffImage, gradCamImage
64
 
65
  iface = gr.Interface(
66
  fn=classify_image,
 
60
  elif result[0]["label"] == "pos" and result[0]["score"] > 0.95:
61
  return result[0]["label"], result[0]["score"], str("WHOA!!!!"), face, dffImage, gradCamImage
62
  else:
63
+ return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
64
 
65
  iface = gr.Interface(
66
  fn=classify_image,