Spaces:
Sleeping
Sleeping
usamaferoz12
commited on
Commit
•
626fe71
1
Parent(s):
85a39c0
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,4 @@ if st.button("Analyze Sentiment"):
|
|
19 |
sentiment_score = results[0]["score"]
|
20 |
|
21 |
st.write(f"Sentiment: {sentiment_label}")
|
22 |
-
st.write(f"Confidence Score: {sentiment_score:.2f}")
|
23 |
|
24 |
-
# Run the Streamlit app
|
25 |
-
if __name__ == "__main__":
|
26 |
-
st.write("Enter a message and click 'Analyze Sentiment' to classify its sentiment.")
|
|
|
19 |
sentiment_score = results[0]["score"]
|
20 |
|
21 |
st.write(f"Sentiment: {sentiment_label}")
|
|
|
22 |
|
|
|
|
|
|