Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def inference(pdf_file, pdf_link):
|
|
61 |
images = rasterize_paper(file_name, return_pil=True)
|
62 |
sequence = ""
|
63 |
# infer for every page and concat
|
64 |
-
for image in images:
|
65 |
sequence += predict(image)
|
66 |
|
67 |
|
|
|
61 |
images = rasterize_paper(file_name, return_pil=True)
|
62 |
sequence = ""
|
63 |
# infer for every page and concat
|
64 |
+
for image in images[0:5]:
|
65 |
sequence += predict(image)
|
66 |
|
67 |
|