Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
import gc
|
4 |
|
5 |
st.header("Sentiment Analyzer - BART-Large-MNLI")
|
6 |
-
st.
|
7 |
|
8 |
classifier = pipeline("zero-shot-classification", model='facebook/bart-large-mnli')
|
9 |
|
|
|
3 |
import gc
|
4 |
|
5 |
st.header("Sentiment Analyzer - BART-Large-MNLI")
|
6 |
+
st.write("Input text and press control + enter. The machine will present the likelihood that the text can be categorized as positive, negative and neutral.")
|
7 |
|
8 |
classifier = pipeline("zero-shot-classification", model='facebook/bart-large-mnli')
|
9 |
|