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