usamaferoz12 commited on
Commit
e820560
1 Parent(s): 626fe71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,4 +19,4 @@ if st.button("Analyze Sentiment"):
19
  sentiment_score = results[0]["score"]
20
 
21
  st.write(f"Sentiment: {sentiment_label}")
22
-
 
19
  sentiment_score = results[0]["score"]
20
 
21
  st.write(f"Sentiment: {sentiment_label}")
22
+ st.write(f"Confidence Score: {sentiment_score:.2f}") # Display the confidence score