Spaces:
Running
on
A10G
Running
on
A10G
Shanshan Wang
commited on
Commit
•
2f6e568
1
Parent(s):
bcfef20
updated prompts in examples
Browse files
app.py
CHANGED
@@ -457,9 +457,9 @@ with gr.Blocks() as demo:
|
|
457 |
|
458 |
gr.Examples(
|
459 |
examples=[
|
460 |
-
["assets/handwritten-note-example.jpg", "Read the text
|
461 |
["assets/rental_application.png", "Read the text and provide word by word ocr for the document. <doc>"],
|
462 |
-
["assets/receipt.jpg", "
|
463 |
["assets/driver_license.png", "Extract the text from the image and fill the following json {'license_number':'',\n'full_name':'',\n'date_of_birth':'',\n'address':'',\n'issue_date':'',\n'expiration_date':'',\n}"],
|
464 |
["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"],
|
465 |
["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
|
|
|
457 |
|
458 |
gr.Examples(
|
459 |
examples=[
|
460 |
+
["assets/handwritten-note-example.jpg", "Read the text and provide word by word ocr for the document. <doc>"],
|
461 |
["assets/rental_application.png", "Read the text and provide word by word ocr for the document. <doc>"],
|
462 |
+
["assets/receipt.jpg", "Read the text and provide word by word ocr for the document. <doc>"],
|
463 |
["assets/driver_license.png", "Extract the text from the image and fill the following json {'license_number':'',\n'full_name':'',\n'date_of_birth':'',\n'address':'',\n'issue_date':'',\n'expiration_date':'',\n}"],
|
464 |
["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"],
|
465 |
["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
|