pratikshahp commited on
Commit
8cb5883
·
verified ·
1 Parent(s): 30d61b1

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="pil")
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="numpy")
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