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 |
# Load the classification pipeline from your model on the hub
|
5 |
-
classifier = pipeline("text-classification", model="
|
6 |
|
7 |
def classify_text(text):
|
8 |
results = classifier(text)
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the classification pipeline from your model on the hub
|
5 |
+
classifier = pipeline("text-classification", model="PrimeQA/tydiqa-boolean-question-classifier")
|
6 |
|
7 |
def classify_text(text):
|
8 |
results = classifier(text)
|