Spaces:
Sleeping
Sleeping
Update models/hate_speech_classifier.py
Browse files
models/hate_speech_classifier.py
CHANGED
|
@@ -5,6 +5,8 @@ import os
|
|
| 5 |
import re
|
| 6 |
import torch
|
| 7 |
from deep_translator import GoogleTranslator
|
|
|
|
|
|
|
| 8 |
|
| 9 |
class HateSpeechClassifier:
|
| 10 |
# def __init__(self):
|
|
|
|
| 5 |
import re
|
| 6 |
import torch
|
| 7 |
from deep_translator import GoogleTranslator
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
|
| 11 |
class HateSpeechClassifier:
|
| 12 |
# def __init__(self):
|