EmreYY20 commited on
Commit
b3ec0ef
·
1 Parent(s): 4cc82d1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ if pdf_file is not None and st.button("Summarize"):
11
  f.write(pdf_file.getbuffer())
12
 
13
  # Generate summary
14
- summary = summarize_pdf_with_textrank("temp_pdf.pdf")
15
 
16
  # Display summary
17
  st.write("Summary:")
 
11
  f.write(pdf_file.getbuffer())
12
 
13
  # Generate summary
14
+ summary = summarize_pdf_with_textrank("temp_pdf.pdf", sentences_count=10)
15
 
16
  # Display summary
17
  st.write("Summary:")