xavierbarbier commited on
Commit
007defd
·
verified ·
1 Parent(s): 95d9791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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