Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Initialize the classifier pipeline
|
5 |
-
classifier = pipeline("text-classification", model="rahbi/alclam-base-
|
6 |
|
7 |
# Define the prediction function
|
8 |
def classify_text(text):
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Initialize the classifier pipeline
|
5 |
+
classifier = pipeline("text-classification", model="rahbi/alclam-base-v2-DID")
|
6 |
|
7 |
# Define the prediction function
|
8 |
def classify_text(text):
|