lodhrangpt commited on
Commit
284df8b
·
verified ·
1 Parent(s): 0b2ea93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ def main():
52
  # Create the Gradio interface
53
  iface = gr.Interface(
54
  fn=pdf_to_excel_function,
55
- inputs=(label="Upload PDF File"),
56
- outputs=[label="Download Excel File"],
57
  title="PDF to Excel Converter",
58
  description="Convert a PDF file to an Excel file."
59
  )
 
52
  # Create the Gradio interface
53
  iface = gr.Interface(
54
  fn=pdf_to_excel_function,
55
+ inputs=gr.File(label="Upload PDF File"),
56
+ outputs=gr.File[label="Download Excel File"],
57
  title="PDF to Excel Converter",
58
  description="Convert a PDF file to an Excel file."
59
  )