Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,9 @@ def extract_text(file):
|
|
34 |
# extracting text from page
|
35 |
text.append(page.extract_text())
|
36 |
|
37 |
-
text = ' '.join(text)
|
38 |
|
39 |
-
return text
|
40 |
|
41 |
def summarise(text):
|
42 |
|
|
|
34 |
# extracting text from page
|
35 |
text.append(page.extract_text())
|
36 |
|
37 |
+
#text = ' '.join(text)
|
38 |
|
39 |
+
return text[0]
|
40 |
|
41 |
def summarise(text):
|
42 |
|