mikeion commited on
Commit
1c6a5e4
·
1 Parent(s): f1d1123

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -57,6 +57,7 @@ class Chatbot():
57
 
58
  # Extract the text elements from the page
59
  _ = page.extract_text(visitor_text=visitor_body)
 
60
 
61
  # Instantiate variables to be used in the loop. The first text element in the page_text list is used to initialize the variables
62
  prev_y = None
@@ -100,6 +101,7 @@ class Chatbot():
100
  })
101
 
102
  print("Done parsing paper")
 
103
 
104
  return paper_text
105
 
 
57
 
58
  # Extract the text elements from the page
59
  _ = page.extract_text(visitor_text=visitor_body)
60
+ print(f'Page {i} text", {page_text}')
61
 
62
  # Instantiate variables to be used in the loop. The first text element in the page_text list is used to initialize the variables
63
  prev_y = None
 
101
  })
102
 
103
  print("Done parsing paper")
104
+ print(paper_text)
105
 
106
  return paper_text
107