Spaces:
Sleeping
Sleeping
Shanshan Wang
commited on
Commit
·
92754e8
1
Parent(s):
5099c24
fixed examples
Browse files
app.py
CHANGED
@@ -351,9 +351,9 @@ with gr.Blocks() as demo:
|
|
351 |
["assets/invoice.png", "Please extract the following fields, and return the result in JSON format: supplier_name, supplier_address, customer_name, customer_address, invoice_number, invoice_total_amount, invoice_tax_amount"],
|
352 |
["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
|
353 |
],
|
354 |
-
inputs = [image_input, user_input
|
355 |
-
outputs = [chatbot, state, image_state, user_input],
|
356 |
-
fn=inference,
|
357 |
label = "examples",
|
358 |
)
|
359 |
|
|
|
351 |
["assets/invoice.png", "Please extract the following fields, and return the result in JSON format: supplier_name, supplier_address, customer_name, customer_address, invoice_number, invoice_total_amount, invoice_tax_amount"],
|
352 |
["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
|
353 |
],
|
354 |
+
inputs = [image_input, user_input],
|
355 |
+
# outputs = [chatbot, state, image_state, user_input],
|
356 |
+
# fn=inference,
|
357 |
label = "examples",
|
358 |
)
|
359 |
|