Commit
·
bf957dc
1
Parent(s):
60b99d2
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ classifier = pipeline("zero-shot-classification",
|
|
| 5 |
model="facebook/bart-large-mnli")
|
| 6 |
|
| 7 |
text = st.text_area('Enter the text')
|
| 8 |
-
candidate_labels = ['complex
|
| 9 |
classifier(text, candidate_labels)
|
|
|
|
| 5 |
model="facebook/bart-large-mnli")
|
| 6 |
|
| 7 |
text = st.text_area('Enter the text')
|
| 8 |
+
candidate_labels = ['complex', 'ambiguity', 'conflicting', 'tricky']
|
| 9 |
classifier(text, candidate_labels)
|