TalalMosaik commited on
Commit
49275b5
·
verified ·
1 Parent(s): 56b0a55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -290,7 +290,7 @@ def convert_doc_to_images(path):
290
  return images
291
 
292
  def convert_doc_to_images_with_dpi(path, dpi=300):
293
- images = convert_from_path(path)
294
  images_with_dpi = []
295
  for i, image in enumerate(images):
296
  # Save the image temporarily to a BytesIO object to read it back with PIL
 
290
  return images
291
 
292
  def convert_doc_to_images_with_dpi(path, dpi=300):
293
+ images = convert_from_path(path,dpi=dpi)
294
  images_with_dpi = []
295
  for i, image in enumerate(images):
296
  # Save the image temporarily to a BytesIO object to read it back with PIL