varl42 commited on
Commit
734229f
1 Parent(s): 349cba0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def extract_text(pdf_file):
19
 
20
 
21
  # Function to summarize text
22
- # Defines a function to summarize the extracted text using facebook/bart-large-cnn
23
  def summarize_text(text):
24
  sentences = text.split(". ")
25
  for i, sentence in enumerate(sentences):
 
19
 
20
 
21
  # Function to summarize text
22
+ # Defines a function to summarize the extracted text using pszemraj/led-base-book-summary
23
  def summarize_text(text):
24
  sentences = text.split(". ")
25
  for i, sentence in enumerate(sentences):