king007 commited on
Commit
2ebf0b0
1 Parent(s): aa1527b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ def pdf_to_text(path, start_page=1, end_page=None):
42
  #
43
  text_len = text_len + word_count0(text)
44
  doc.close()
 
45
  if(text_len>10):
46
  pdf_parse_status = 0
47
  return [], pdf_parse_status
 
42
  #
43
  text_len = text_len + word_count0(text)
44
  doc.close()
45
+ print(text_len)
46
  if(text_len>10):
47
  pdf_parse_status = 0
48
  return [], pdf_parse_status