andreeabodea commited on
Commit
60abc54
·
verified ·
1 Parent(s): 941f6dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def read_section(path, wanted_section, next_section):
63
  page = doc.pages[page_num]
64
  text.append(page.extract_text())
65
  text = " ".join(text)
66
- text.replace("\n", " ")
67
  # print(wanted_section + str(extract_between(text, wanted_section, next_section)))
68
  return wanted_section + str(extract_between(text, wanted_section, next_section))
69
 
 
63
  page = doc.pages[page_num]
64
  text.append(page.extract_text())
65
  text = " ".join(text)
66
+ text = text.replace("\n", " ")
67
  # print(wanted_section + str(extract_between(text, wanted_section, next_section)))
68
  return wanted_section + str(extract_between(text, wanted_section, next_section))
69