neha-ai-playground commited on
Commit
998fae1
1 Parent(s): e545d03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  pipe = pipeline('sentiment-analysis')
 
4
  query = st.text_area('enter some text - It will return the sentiment of the entered text Negative/Positive :', 'I love you')
5
  button = st.button('Submit', key='button')
6
  if button:
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  pipe = pipeline('sentiment-analysis')
4
+ st.title('Sentiment Analysis')
5
  query = st.text_area('enter some text - It will return the sentiment of the entered text Negative/Positive :', 'I love you')
6
  button = st.button('Submit', key='button')
7
  if button: