green commited on
Commit
48140f6
1 Parent(s): 733b47b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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(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
 
 
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