realambuj commited on
Commit
13c1974
1 Parent(s): 8709b0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def summary(txt):
18
  with st.spinner('Summarizing...'):
19
  loaded_model = pickle.load(open('bert.sav', 'rb'))
20
  summary = loaded_model(txt, min_length=50)
21
- st.success('Your Summary is ready and is given below ⬇️')
22
- st.caption(summary)
23
 
24
  st.title('Text Summarization Using BERT')
25
  #st.divider()
 
18
  with st.spinner('Summarizing...'):
19
  loaded_model = pickle.load(open('bert.sav', 'rb'))
20
  summary = loaded_model(txt, min_length=50)
21
+ st.success('Your Summary is ready and is given below :')
22
+ st.subheader(summary)
23
 
24
  st.title('Text Summarization Using BERT')
25
  #st.divider()