Update app.py
Browse files
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 |
-
|
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():
|