Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def prediction(image):
|
|
24 |
|
25 |
title = "Interactive demo: LayoutLMv3 for receipts"
|
26 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular space uses two instances of the model, one fine-tuned on CORD and the other SROIE.\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. To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
27 |
-
examples = [['image.
|
28 |
|
29 |
css = """.output_image, .input_image {height: 600px !important}"""
|
30 |
|
|
|
24 |
|
25 |
title = "Interactive demo: LayoutLMv3 for receipts"
|
26 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular space uses two instances of the model, one fine-tuned on CORD and the other SROIE.\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. To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
27 |
+
examples = [['image.jpg'],['image.PNG']]
|
28 |
|
29 |
css = """.output_image, .input_image {height: 600px !important}"""
|
30 |
|