Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,8 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
import gc
|
4 |
|
5 |
-
st.header("Sentiment
|
6 |
-
st.
|
7 |
-
st.caption("Input text and press control + enter.")
|
8 |
|
9 |
classifier = pipeline("zero-shot-classification", model='facebook/bart-large-mnli')
|
10 |
|
|
|
2 |
from transformers import pipeline
|
3 |
import gc
|
4 |
|
5 |
+
st.header("Sentiment Analyzer - BART-Large-MNLI")
|
6 |
+
st.caption("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 |
|