tensorkelechi commited on
Commit
b05824b
·
verified ·
1 Parent(s): 428feb9
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -23,7 +23,9 @@ input = st.text_area('Enter long text')
23
 
24
  if st.button('Summarize text'):
25
  with st.spinner('Summarizing'):
26
- output = summarize_text(input)
 
 
27
  st.markdown(f'''
28
  <div style="background-color: black; color: white; font-weight: bold; padding: 1rem; border-radius: 10px;">
29
  <h4>Results</h4>
@@ -32,7 +34,7 @@ if st.button('Summarize text'):
32
  </div>
33
  </div>
34
  ''', unsafe_allow_html=True)
35
- st.success('Done')
36
 
37
 
38
  #####
 
23
 
24
  if st.button('Summarize text'):
25
  with st.spinner('Summarizing'):
26
+ output = summarize_text(input)
27
+ st.success('Summary complete ')
28
+
29
  st.markdown(f'''
30
  <div style="background-color: black; color: white; font-weight: bold; padding: 1rem; border-radius: 10px;">
31
  <h4>Results</h4>
 
34
  </div>
35
  </div>
36
  ''', unsafe_allow_html=True)
37
+
38
 
39
 
40
  #####