Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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):
|