Marthee commited on
Commit
40a741c
·
verified ·
1 Parent(s): 1143358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -439,9 +439,9 @@ def identify_headers_and_save_excel(pdf_path, model, llm_prompt):
439
  iface = gr.Interface(
440
  fn=identify_headers_and_save_excel,
441
  inputs=[
442
- gr.Textbox(label="PDF URL", placeholder="https://example.com/file.pdf"),
443
- gr.Textbox(label="Model Type", value="google/gemini-2.0-flash-001"), # Default example
444
- gr.Textbox(label="LLM Prompt", lines=3)
445
  ],
446
  outputs=gr.File(label="Download Excel Results"),
447
  title="PDF Header Extractor"
 
439
  iface = gr.Interface(
440
  fn=identify_headers_and_save_excel,
441
  inputs=[
442
+ gr.Textbox(label="PDF URL"),
443
+ gr.Textbox(label="Model Type"), # Default example
444
+ gr.Textbox(label="LLM Prompt")
445
  ],
446
  outputs=gr.File(label="Download Excel Results"),
447
  title="PDF Header Extractor"