Update app.py
Browse files
app.py
CHANGED
|
@@ -284,9 +284,11 @@ with st.form(key='columns_in_form'):
|
|
| 284 |
st.info(digestor.text)
|
| 285 |
|
| 286 |
st.subheader("Summarization stats:")
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
|
|
|
|
|
|
| 290 |
# Summarize the findings for all models
|
| 291 |
show_length_graph()
|
| 292 |
|
|
|
|
| 284 |
st.info(digestor.text)
|
| 285 |
|
| 286 |
st.subheader("Summarization stats:")
|
| 287 |
+
col1, col2, col3 = st.columns(3)
|
| 288 |
+
col1.metric(label="Digest Time", value=f"""{digestor.timer.timers['digest_time']:.2f} seconds""")
|
| 289 |
+
col2.metric(label="Digest Length", value=len(digestor.text.split(" ") ))
|
| 290 |
+
col3.metric(label="Article Count", value=outdata['article_count'] )
|
| 291 |
+
st.write("Length reduction")
|
| 292 |
# Summarize the findings for all models
|
| 293 |
show_length_graph()
|
| 294 |
|