Spaces:
Runtime error
Runtime error
Update pdf2text.py
Browse files- 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 =
|
| 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()
|