Dineth98 commited on
Commit
86bc0ed
·
1 Parent(s): 47ea938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def main():
12
  user_input = st.text_area("Input Text Here")
13
  if st.button("Sentiment"):
14
  label , score = sentiment_funtion(user_input)
15
- if label == "LABEL_0":
16
  label = "Positive"
17
  postive_score = score
18
  negative_score = 1 - score
 
12
  user_input = st.text_area("Input Text Here")
13
  if st.button("Sentiment"):
14
  label , score = sentiment_funtion(user_input)
15
+ if label == "LABEL_1":
16
  label = "Positive"
17
  postive_score = score
18
  negative_score = 1 - score