Spaces:
Runtime error
Runtime error
DSatishchandra
commited on
Commit
•
23d889a
1
Parent(s):
0be1cdb
Update app.py
Browse files
app.py
CHANGED
@@ -25,10 +25,10 @@ def process_pdf(file, format_type):
|
|
25 |
iface = gr.Interface(
|
26 |
fn=process_pdf,
|
27 |
inputs=[
|
28 |
-
gr.
|
29 |
-
gr.
|
30 |
],
|
31 |
-
outputs=gr.
|
32 |
)
|
33 |
|
34 |
if __name__ == "__main__":
|
|
|
25 |
iface = gr.Interface(
|
26 |
fn=process_pdf,
|
27 |
inputs=[
|
28 |
+
gr.File(label="Upload PDF"),
|
29 |
+
gr.Dropdown(choices=["Perfect Meta Print", "Toshiba", "BHEL"], label="Select Format")
|
30 |
],
|
31 |
+
outputs=gr.File(label="Download Excel")
|
32 |
)
|
33 |
|
34 |
if __name__ == "__main__":
|