Spaces:
Running
Running
siddhantuniyal
commited on
Commit
•
9c28001
1
Parent(s):
cb6ff81
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def predict(image):
|
|
28 |
return ["hate" , label]
|
29 |
else:
|
30 |
|
31 |
-
ocr_text = extract_text(image)
|
32 |
|
33 |
engResult = clientEngText.predict(
|
34 |
text=ocr_text,
|
|
|
28 |
return ["hate" , label]
|
29 |
else:
|
30 |
|
31 |
+
ocr_text = extract_text(image).lower()
|
32 |
|
33 |
engResult = clientEngText.predict(
|
34 |
text=ocr_text,
|