davanstrien HF staff commited on
Commit
6532453
1 Parent(s): 4017ee6
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -289,14 +289,7 @@ with gr.Blocks() as demo:
289
  submit_button = gr.Button("Convert PDFs to page images")
290
  submit_button.click(
291
  process_pdfs,
292
- inputs=[
293
- pdf_files,
294
- sample_percentage,
295
- hf_repo,
296
- create_zip,
297
- private_repo,
298
- gr.OAuthToken(),
299
- ],
300
  outputs=[output_gallery, download_button, status_text],
301
  )
302
 
 
289
  submit_button = gr.Button("Convert PDFs to page images")
290
  submit_button.click(
291
  process_pdfs,
292
+ inputs=[pdf_files, sample_percentage, hf_repo, create_zip, private_repo],
 
 
 
 
 
 
 
293
  outputs=[output_gallery, download_button, status_text],
294
  )
295