kumar989 commited on
Commit
da88aac
β€’
1 Parent(s): 8d99a43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -33,6 +33,9 @@ if uploaded_file is not None:
33
  with st.spinner("πŸ“š    Please wait while we produce a summary..."):
34
  try:
35
  text=read_pdf(uploaded_file)
36
- st.write(text)
 
 
 
37
  except Exception as e:
38
  pass
 
33
  with st.spinner("πŸ“š    Please wait while we produce a summary..."):
34
  try:
35
  text=read_pdf(uploaded_file)
36
+ summary=summarizer(text)
37
+ st.divider()
38
+ st.markdown(summary, unsafe_allow_html=True)
39
+ st.divider()
40
  except Exception as e:
41
  pass