Paula Leonova commited on
Commit
178f8e8
1 Parent(s): cc14bb9

Update section header

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -94,7 +94,7 @@ if submit_button:
94
  top_kw_df = top_kw_df.sort_values('score', ascending = False).reset_index().drop(['index'], axis=1)
95
  st.dataframe(top_kw_df.head(10))
96
 
97
- st.markdown("### Text Chunk & Summaries")
98
  with st.spinner(f'Generating summaries for {len(text_chunks)} text chunks (this may take a minute)...'):
99
 
100
  my_expander = st.expander(label=f'Expand to see intermediate summary generation details for {len(text_chunks)} text chunks')
@@ -116,7 +116,6 @@ if submit_button:
116
  # Combine all the summaries into a list and compress into one document, again
117
  final_summary = " \n\n".join(list(summary))
118
 
119
- st.markdown("### Combined Summary")
120
  st.markdown(final_summary)
121
 
122
  if len(text_input) == 0 or len(labels) == 0:
 
94
  top_kw_df = top_kw_df.sort_values('score', ascending = False).reset_index().drop(['index'], axis=1)
95
  st.dataframe(top_kw_df.head(10))
96
 
97
+ st.markdown("### Summary")
98
  with st.spinner(f'Generating summaries for {len(text_chunks)} text chunks (this may take a minute)...'):
99
 
100
  my_expander = st.expander(label=f'Expand to see intermediate summary generation details for {len(text_chunks)} text chunks')
 
116
  # Combine all the summaries into a list and compress into one document, again
117
  final_summary = " \n\n".join(list(summary))
118
 
 
119
  st.markdown(final_summary)
120
 
121
  if len(text_input) == 0 or len(labels) == 0: