Jakaria
commited on
Commit
·
f3d5a8d
1
Parent(s):
fc16101
Add Bangla model API
Browse files
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 |
-
|
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 |
|