pratikshahp commited on
Commit
01479a5
·
verified ·
1 Parent(s): 0da8222

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks() as invoice_extractor:
43
  )
44
 
45
  input_prompt = gr.Textbox(label="Input Prompt", value=default_prompt, lines=3)
46
- image_input = gr.Image(label="Upload Invoice Image", type="filepath")
47
  query_input = gr.Textbox(label="Enter your query about the invoice", placeholder="e.g., What is the total amount?")
48
  output_response = gr.Textbox(label="Response", lines=5)
49
 
 
43
  )
44
 
45
  input_prompt = gr.Textbox(label="Input Prompt", value=default_prompt, lines=3)
46
+ image_input = gr.Image(label="Upload Invoice Image", type="binary")
47
  query_input = gr.Textbox(label="Enter your query about the invoice", placeholder="e.g., What is the total amount?")
48
  output_response = gr.Textbox(label="Response", lines=5)
49