Wootang01 commited on
Commit
e21871c
1 Parent(s): 7840062

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ st.header("Sentiment Analysis")
6
  st.subheader("Input text. Submit. The machine will classify the text as positive, negative and neutral and display probabilities.")
7
  st.caption("Input text and press control + enter.")
8
 
9
- classifier = pipeline("zero-shot classification", model='facebook/bart-large-mnli')
10
 
11
  text = st.text_area("Input text and press control + enter.")
12
  candidate_labels = ['positive', 'negative', 'neutral']
 
6
  st.subheader("Input text. Submit. The machine will classify the text as positive, negative and neutral and display probabilities.")
7
  st.caption("Input text and press control + enter.")
8
 
9
+ classifier = pipeline("zero-shot-classification", model='facebook/bart-large-mnli')
10
 
11
  text = st.text_area("Input text and press control + enter.")
12
  candidate_labels = ['positive', 'negative', 'neutral']