Update app.py
Browse files
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: '
|
33 |
-
st.text(
|
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()
|