Shanshan Wang commited on
Commit
ef22b13
1 Parent(s): ab3d7d0

updated examples

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. app.py +1 -1
  3. assets/handwritten-note-example.jpg +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/handwritten-note-example.jpg filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -333,7 +333,7 @@ with gr.Blocks() as demo:
333
  gr.Examples(
334
  examples=[
335
  ["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}"],
336
- ["assets/receipt.jpg", "Read the text on the image"],
337
  ["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"],
338
  ["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
339
  ],
 
333
  gr.Examples(
334
  examples=[
335
  ["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}"],
336
+ ["assets/handwritten-note-example.jpg", "Read the text on the image"],
337
  ["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"],
338
  ["assets/CBA-1H23-Results-Presentation_wheel.png", "What is the efficiency of H2O.AI in document processing?"],
339
  ],
assets/handwritten-note-example.jpg ADDED

Git LFS Details

  • SHA256: bfd9f636e82f9213a79bc997ea3ca151351d79c70744b0ef88ebb61b7055c64e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.39 MB