broadfield-dev commited on
Commit
f2decc0
·
verified ·
1 Parent(s): bb34536

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ IMAGE_ZOOM_FACTOR = 2 # 2 = 144 DPI
16
  SPACER_HEIGHT = 30 # Vertical space between pages
17
  BACKGROUND_COLOR = (255, 255, 255) # White
18
 
19
- def pdf_to_png_streaming(pdf_file, pdf_url, progress=gr.Progress(track_ τότε=True)):
20
  """
21
  Converts a PDF (from file or URL) to a single PNG, streaming the output
22
  image as each page is processed.
 
16
  SPACER_HEIGHT = 30 # Vertical space between pages
17
  BACKGROUND_COLOR = (255, 255, 255) # White
18
 
19
+ def pdf_to_png_streaming(pdf_file, pdf_url, progress=gr.Progress(track_tqdm=True)):
20
  """
21
  Converts a PDF (from file or URL) to a single PNG, streaming the output
22
  image as each page is processed.