Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
|
|
11 |
from transformers import pipeline
|
12 |
|
13 |
# Load the fine-tuned model and tokenizer
|
14 |
-
classifier = pipeline("text-classification", model="Mehdi009/
|
15 |
|
16 |
# Function to make predictions
|
17 |
def predict_antisemitism(text):
|
|
|
11 |
from transformers import pipeline
|
12 |
|
13 |
# Load the fine-tuned model and tokenizer
|
14 |
+
classifier = pipeline("text-classification", model="Mehdi009/Antisemitism_Harassment_Detection_Model")
|
15 |
|
16 |
# Function to make predictions
|
17 |
def predict_antisemitism(text):
|