Wootang01 commited on
Commit
156dcad
1 Parent(s): e21871c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -2,9 +2,8 @@ import streamlit as st
2
  from transformers import pipeline
3
  import gc
4
 
5
- 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
 
 
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