Update app.py
Browse files
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="
|
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 |
|