Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,9 @@ 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(label)
|
34 |
-
st.text('The Score
|
35 |
st.text(score)
|
36 |
|
37 |
if __name__ == "__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 the Finance News is: ')
|
33 |
st.text(label)
|
34 |
+
st.text('The Sentiment Score: ')
|
35 |
st.text(score)
|
36 |
|
37 |
if __name__ == "__main__":
|