Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,9 @@ def main():
|
|
22 |
negative_score = score
|
23 |
|
24 |
st.write("Sentiment:")
|
25 |
-
st.write(label)
|
26 |
-
st.write(postive_score)
|
27 |
-
st.write(negative_score)
|
28 |
|
29 |
if __name__ == "__main__":
|
30 |
main()
|
|
|
22 |
negative_score = score
|
23 |
|
24 |
st.write("Sentiment:")
|
25 |
+
st.write(f"Sentiment Label: {label}")
|
26 |
+
st.write(f"Positive Score: {postive_score:.2f}")
|
27 |
+
st.write(f"Negative Score: {negative_score:.2f}")
|
28 |
|
29 |
if __name__ == "__main__":
|
30 |
main()
|