Update app.py
Browse files
app.py
CHANGED
@@ -263,14 +263,12 @@ with st.form(key='columns_in_form'):
|
|
263 |
if len(digestor.text) == 0:
|
264 |
st.write("No text to return...huh.")
|
265 |
else:
|
266 |
-
st.
|
267 |
st.info(digestor.text)
|
268 |
|
269 |
st.subheader("Summarization stats:")
|
270 |
|
271 |
-
st.success(f"""Digest completed in {digestor.timer.timers['digest_time']} seconds.""")
|
272 |
-
st.write(f"""Text approximately {len(digestor.text.split(" ") )} words.""")
|
273 |
-
st.write(f"""Number of articles summarized: {outdata['article_count']}""")
|
274 |
|
275 |
# Summarize the findings for all models
|
276 |
show_length_graph()
|
|
|
263 |
if len(digestor.text) == 0:
|
264 |
st.write("No text to return...huh.")
|
265 |
else:
|
266 |
+
st.subheader("Your digest:")
|
267 |
st.info(digestor.text)
|
268 |
|
269 |
st.subheader("Summarization stats:")
|
270 |
|
271 |
+
st.success(f"""Digest completed in {digestor.timer.timers['digest_time']} seconds. \nText approximately {len(digestor.text.split(" ") )} words. \nNumber of articles summarized: {outdata['article_count']}""")
|
|
|
|
|
272 |
|
273 |
# Summarize the findings for all models
|
274 |
show_length_graph()
|