naohiro701 commited on
Commit
191aec7
·
verified ·
1 Parent(s): 74817de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def gradio_pdf_merge(pdf_files, output_filename):
37
  gr_interface = gr.Interface(
38
  fn=gradio_pdf_merge, # The function to run when files are uploaded
39
  inputs=[
40
- gr.File(file_types=['.pdf'], label="Upload PDF files", multiple=True), # Allow multiple PDFs to be uploaded
41
  gr.Textbox(label="Output PDF filename", placeholder="Enter the output filename (e.g., merged.pdf)") # Input for output filename
42
  ],
43
  outputs=gr.File(label="Merged PDF") # Return the merged PDF file
 
37
  gr_interface = gr.Interface(
38
  fn=gradio_pdf_merge, # The function to run when files are uploaded
39
  inputs=[
40
+ gr.Files(file_types=['.pdf'], label="Upload PDF files"), # Allow multiple PDFs to be uploaded
41
  gr.Textbox(label="Output PDF filename", placeholder="Enter the output filename (e.g., merged.pdf)") # Input for output filename
42
  ],
43
  outputs=gr.File(label="Merged PDF") # Return the merged PDF file