blazingbunny commited on
Commit
2e17500
·
verified ·
1 Parent(s): f1376e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def display_sentiment_results(annotations):
32
  st.write(f"Text from Sentence {index}: {sentence_text}") # Display the text of the sentence
33
 
34
  # Display overall sentiment with 2 decimal places
35
- st.write(f"Overall Sentiment: score of {score:.2f} with magnitude of {magnitude:.2f}")
36
 
37
  # Main function to run the app
38
  def main():
 
32
  st.write(f"Text from Sentence {index}: {sentence_text}") # Display the text of the sentence
33
 
34
  # Display overall sentiment with 2 decimal places
35
+ st.write(f"Overall Sentiment: score of {score} with magnitude of {magnitude}")
36
 
37
  # Main function to run the app
38
  def main():