Khushter-Kaifi commited on
Commit
69a2132
·
1 Parent(s): aa937c2

Update App

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,4 +36,4 @@ if user_input:
36
  #If there is user input, it displays the sentiment and confidence score.
37
  # The sentiment is extracted from the "label" field in the result, and the confidence score is extracted from the "score" field.
38
  st.write(f"Sentiment: {sentiment}")
39
- st.write(f"Confidence: {confidence:.2%}")
 
36
  #If there is user input, it displays the sentiment and confidence score.
37
  # The sentiment is extracted from the "label" field in the result, and the confidence score is extracted from the "score" field.
38
  st.write(f"Sentiment: {sentiment}")
39
+ st.write(f"Confidence: {confidence:.2f}")