Marthee commited on
Commit
d5b7e45
·
verified ·
1 Parent(s): 9da790b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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") # File expects a path
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()