ranajoy98 commited on
Commit
e73edab
·
1 Parent(s): a8a0476

Update pdf2text.py

Browse files
Files changed (1) hide show
  1. pdf2text.py +1 -1
pdf2text.py CHANGED
@@ -322,7 +322,7 @@ def result2text(result, as_text=False) -> str or list:
322
  def convert_PDF_to_Text(
323
  PDF_file,
324
  ocr_model=None,
325
- max_pages: int = 20,
326
  ):
327
 
328
  st = time.perf_counter()
 
322
  def convert_PDF_to_Text(
323
  PDF_file,
324
  ocr_model=None,
325
+ max_pages: int = 10,
326
  ):
327
 
328
  st = time.perf_counter()