Paula Leonova
commited on
Commit
·
cc14bb9
1
Parent(s):
e480bed
Add text chunk counter to spinner
Browse files
app.py
CHANGED
@@ -95,9 +95,9 @@ if submit_button:
|
|
95 |
st.dataframe(top_kw_df.head(10))
|
96 |
|
97 |
st.markdown("### Text Chunk & Summaries")
|
98 |
-
with st.spinner('Generating summaries for text chunks...'):
|
99 |
|
100 |
-
my_expander = st.expander(label='Expand to see intermediate summary generation details')
|
101 |
with my_expander:
|
102 |
summary = []
|
103 |
|
|
|
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')
|
101 |
with my_expander:
|
102 |
summary = []
|
103 |
|