Update app.py
Browse files
app.py
CHANGED
@@ -119,24 +119,24 @@ if user_input != "":
|
|
119 |
file_name="chart.html",
|
120 |
mime="text/html",
|
121 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
delta_color="normal",
|
131 |
-
)
|
132 |
-
|
133 |
-
with col2:
|
134 |
-
st.metric(
|
135 |
-
"How Many Positive & Negative Sentences?",
|
136 |
-
sentiment_count,
|
137 |
-
delta=None,
|
138 |
-
delta_color="normal",
|
139 |
-
)
|
140 |
|
141 |
|
142 |
st.markdown(
|
|
|
119 |
file_name="chart.html",
|
120 |
mime="text/html",
|
121 |
)
|
122 |
+
|
123 |
+
col1, col2 = st.columns([1, 3])
|
124 |
+
|
125 |
+
with col1:
|
126 |
+
st.metric(
|
127 |
+
"Overall Sentiment Score",
|
128 |
+
overall_sentiment_score,
|
129 |
+
delta=None,
|
130 |
+
delta_color="normal",
|
131 |
+
)
|
132 |
|
133 |
+
with col2:
|
134 |
+
st.metric(
|
135 |
+
"How Many Positive & Negative Sentences?",
|
136 |
+
sentiment_count,
|
137 |
+
delta=None,
|
138 |
+
delta_color="normal",
|
139 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
|
141 |
|
142 |
st.markdown(
|