merve HF staff commited on
Commit
219308d
1 Parent(s): 1869205

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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