prthm11 commited on
Commit
d74dcbd
·
verified ·
1 Parent(s): b58e3ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1387,8 +1387,8 @@ def extract_images_from_pdf(pdf_stream: io.BytesIO):
1387
  try:
1388
  elements = partition_pdf(
1389
  file=pdf_stream,
1390
- # strategy="hi_res",
1391
- strategy="fast",
1392
  extract_image_block_types=["Image"],
1393
  hi_res_model_name="yolox",
1394
  extract_image_block_to_payload=True,
 
1387
  try:
1388
  elements = partition_pdf(
1389
  file=pdf_stream,
1390
+ strategy="hi_res",
1391
+ # strategy="fast",
1392
  extract_image_block_types=["Image"],
1393
  hi_res_model_name="yolox",
1394
  extract_image_block_to_payload=True,