Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -425,10 +425,11 @@ def identify_headers_and_save_excel(pdf_path, model, llm_prompt):
|
|
| 425 |
|
| 426 |
iface = gr.Interface(
|
| 427 |
fn=identify_headers_and_save_excel,
|
|
|
|
|
|
|
| 428 |
gr.Textbox(label="Model Type"),
|
| 429 |
gr.Textbox(label="LLM Prompt")
|
| 430 |
],
|
| 431 |
-
outputs=gr.File(label="Download Excel")
|
| 432 |
)
|
| 433 |
-
|
| 434 |
iface.launch()
|
|
|
|
| 425 |
|
| 426 |
iface = gr.Interface(
|
| 427 |
fn=identify_headers_and_save_excel,
|
| 428 |
+
inputs=[
|
| 429 |
+
gr.Textbox(label="PDF URL"),
|
| 430 |
gr.Textbox(label="Model Type"),
|
| 431 |
gr.Textbox(label="LLM Prompt")
|
| 432 |
],
|
| 433 |
+
outputs=gr.File(label="Download Excel")
|
| 434 |
)
|
|
|
|
| 435 |
iface.launch()
|