Spaces:
Sleeping
Sleeping
Shanshan Wang
commited on
Commit
•
ef22b13
1
Parent(s):
ab3d7d0
updated examples
Browse files- .gitattributes +1 -0
- app.py +1 -1
- 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/
|
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
|