Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
# The pipeline will automatically load the model and tokenizer
|
| 5 |
# from the current directory where you've put the files.
|
| 6 |
try:
|
| 7 |
-
classifier = pipeline("text-classification", model="
|
| 8 |
|
| 9 |
def classify_text(text):
|
| 10 |
"""
|
|
|
|
| 4 |
# The pipeline will automatically load the model and tokenizer
|
| 5 |
# from the current directory where you've put the files.
|
| 6 |
try:
|
| 7 |
+
classifier = pipeline("text-classification", model="Unknownhackerr/hate_check_india", tokenizer="./")
|
| 8 |
|
| 9 |
def classify_text(text):
|
| 10 |
"""
|