Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,8 @@ def gradio_interface(pdf_file):
|
|
147 |
return None, message
|
148 |
|
149 |
iface = gr.Interface(fn=gradio_interface,
|
150 |
-
inputs=gr.
|
151 |
-
outputs=[gr.
|
152 |
title="PDF to CSV Table Extractor",
|
153 |
description="Upload a PDF file to extract tables into a CSV format.")
|
154 |
|
|
|
147 |
return None, message
|
148 |
|
149 |
iface = gr.Interface(fn=gradio_interface,
|
150 |
+
inputs=gr.File(label="Please upload your PDF file"),
|
151 |
+
outputs=[gr.File(label="Download the generated CSV file"), gr.Textbox(label="Messages")],
|
152 |
title="PDF to CSV Table Extractor",
|
153 |
description="Upload a PDF file to extract tables into a CSV format.")
|
154 |
|