Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ title = "Interactive demo: LayoutLMv3 for receipts"
|
|
6 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular space uses an instance of the model fine-tuned on a dataset that combines CORD and SROIE.\n To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
7 |
examples = [['image.jpg'],['image.PNG']]
|
8 |
|
9 |
-
css = """.output_image, .input_image {height: 600px !important}"""
|
10 |
|
11 |
# gradio interface that takes in input an image and return a JSON file that contains its info
|
12 |
# for now it shows also the intermediate steps
|
|
|
6 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular space uses an instance of the model fine-tuned on a dataset that combines CORD and SROIE.\n To use it, simply upload an image or use the example image below. Results will show up in a few seconds."
|
7 |
examples = [['image.jpg'],['image.PNG']]
|
8 |
|
9 |
+
css = """.output_image, .input_image {height: 600px !important}, .output_json { color: black; }"""
|
10 |
|
11 |
# gradio interface that takes in input an image and return a JSON file that contains its info
|
12 |
# for now it shows also the intermediate steps
|