Spaces:
Runtime error
Runtime error
Change description
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def process_image(image):
|
|
83 |
|
84 |
title = "Interactive demo: LayoutLMv3"
|
85 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular model is fine-tuned on FUNSD, a dataset of manually annotated forms. It annotates the words appearing in the image as QUESTION/ANSWER/HEADER/OTHER. To use it, simply upload an image or use the example image below and click 'Submit'. Results will show up in a few seconds. If you want to make the output bigger, right-click on it and select 'Open image in new tab'."
|
86 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2204.08387' target='_blank'>
|
87 |
examples =[['test0.jpeg','test1.jpeg','test2.jpeg']]
|
88 |
|
89 |
css = ".output-image, .input-image {height: 40rem !important; width: 100% !important;}"
|
|
|
83 |
|
84 |
title = "Interactive demo: LayoutLMv3"
|
85 |
description = "Demo for Microsoft's LayoutLMv3, a Transformer for state-of-the-art document image understanding tasks. This particular model is fine-tuned on FUNSD, a dataset of manually annotated forms. It annotates the words appearing in the image as QUESTION/ANSWER/HEADER/OTHER. To use it, simply upload an image or use the example image below and click 'Submit'. Results will show up in a few seconds. If you want to make the output bigger, right-click on it and select 'Open image in new tab'."
|
86 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2204.08387' target='_blank'>LayoutLMv3: Multi-modal Pre-training for Visually-Rich Document Understanding</a> | <a href='https://github.com/microsoft/unilm' target='_blank'>Github Repo</a></p>"
|
87 |
examples =[['test0.jpeg','test1.jpeg','test2.jpeg']]
|
88 |
|
89 |
css = ".output-image, .input-image {height: 40rem !important; width: 100% !important;}"
|