Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def prediction(image):
|
|
23 |
|
24 |
title = "Interactive demo: LayoutLMv3 for receipts"
|
25 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular model is fine-tuned on CORD and SROIE, which are datasets of receipts.\n It firsts uses the fine-tune on SROIE to extract date, company and address, then the fine-tune on CORD for the other info.\n To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
26 |
-
examples = [['image.
|
27 |
|
28 |
css = """.output_image, .input_image {height: 600px !important}"""
|
29 |
|
|
|
23 |
|
24 |
title = "Interactive demo: LayoutLMv3 for receipts"
|
25 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular model is fine-tuned on CORD and SROIE, which are datasets of receipts.\n It firsts uses the fine-tune on SROIE to extract date, company and address, then the fine-tune on CORD for the other info.\n To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
26 |
+
examples = [['image.jpeg']]
|
27 |
|
28 |
css = """.output_image, .input_image {height: 600px !important}"""
|
29 |
|