Yoxas commited on
Commit
b6579fb
·
verified ·
1 Parent(s): 5276fb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def process_pdfs(pdf_files):
92
  return csv_file_path
93
 
94
  # Gradio interface
95
- pdf_input = gr.File(label="Upload PDF Files", type="file", file_count="multiple")
96
  csv_output = gr.File(label="Download CSV")
97
 
98
  gr.Interface(
 
92
  return csv_file_path
93
 
94
  # Gradio interface
95
+ pdf_input = gr.File(label="Upload PDF Files", file_types=[".pdf"], file_count="multiple")
96
  csv_output = gr.File(label="Download CSV")
97
 
98
  gr.Interface(