Jakaria commited on
Commit
f3d5a8d
·
1 Parent(s): fc16101

Add Bangla model API

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict(request:PredictRequest):
32
  return {"prediction":"Not Hate"}
33
  elif label[0]==4:
34
  return {"prediction":"other hate"}
35
- else:
36
  return {"prediction":"hate regarding religion"}
37
 
38
 
 
32
  return {"prediction":"Not Hate"}
33
  elif label[0]==4:
34
  return {"prediction":"other hate"}
35
+ elif label[0]==5:
36
  return {"prediction":"hate regarding religion"}
37
 
38