Update app.py
Browse files
app.py
CHANGED
@@ -285,9 +285,9 @@ with st.form(key='columns_in_form'):
|
|
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
|
|
|
285 |
|
286 |
st.subheader("Summarization stats:")
|
287 |
col1, col2, col3 = st.columns(3)
|
288 |
+
col1.metric("Digest Time", f"""{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", str(outdata['article_count']), "articles" )
|
291 |
|
292 |
st.write("Length reduction:")
|
293 |
# Summarize the findings for all models
|