Spaces:
Running
Running
Update app.py
Browse files
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 |
)
|