WillWEI0103 commited on
Commit
4d26fbd
·
verified ·
1 Parent(s): f1b90f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -29,8 +29,10 @@ def main():
29
  label,score = sentiment(summary)
30
  label=dicts[label]
31
  status.update(label="Sentiment Analytics Completed", state="complete", expanded=False)
32
- st.text('The Sentiment of Finance News is: ',label)
33
- st.text('The Score of Sentiment: ',score)
34
-
 
 
35
  if __name__ == "__main__":
36
  main()
 
29
  label,score = sentiment(summary)
30
  label=dicts[label]
31
  status.update(label="Sentiment Analytics Completed", state="complete", expanded=False)
32
+ st.text('The Sentiment of Finance News is: ')
33
+ st.text(label)
34
+ st.text('The Score of Sentiment: ')
35
+ st.text(score)
36
+
37
  if __name__ == "__main__":
38
  main()