APJ23 commited on
Commit
753561a
·
1 Parent(s): a7f7ad6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,7 +5,9 @@ st.title("Text-To-Sentiment-Analysis")
5
  Text_arr=["Hello my name is Alex.","You gotta do way better than that.","That's super cool.","I don't care!","I Hate you!","It's whatever."]
6
  pipe = Tpipe("sentiment-analysis")
7
  print(Text_arr)
8
- st.markdown("This is the list of words that, the program will be testing on")
 
 
9
  if st.button("Press the button to test"):
10
  for text in Text_arr:
11
  labels=pipe(text)[0]["label"]
 
5
  Text_arr=["Hello my name is Alex.","You gotta do way better than that.","That's super cool.","I don't care!","I Hate you!","It's whatever."]
6
  pipe = Tpipe("sentiment-analysis")
7
  print(Text_arr)
8
+ st.markdown("This is a binary classification sentiment analysis program where it determine the sentiment of a given phrase")
9
+ st.markdown("POSITIVE: Good")
10
+ st.markdown("NEGATIVE: Bad")
11
  if st.button("Press the button to test"):
12
  for text in Text_arr:
13
  labels=pipe(text)[0]["label"]