siddhantuniyal commited on
Commit
84e881d
·
verified ·
1 Parent(s): 7a53eba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def predict(image):
24
 
25
  label , confidence = imgResult[0]['label'] , float(imgResult[1]['label'])
26
 
27
- if confidence > 0.95:
28
  return ["hate" , label]
29
  else:
30
 
 
24
 
25
  label , confidence = imgResult[0]['label'] , float(imgResult[1]['label'])
26
 
27
+ if confidence > 0.90:
28
  return ["hate" , label]
29
  else:
30