Spaces:
Runtime error
Runtime error
Commit
·
25320e0
1
Parent(s):
10387fb
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def process_image(image):
|
|
73 |
return image
|
74 |
|
75 |
|
76 |
-
title = "Interactive demo: LayoutLMv2"
|
77 |
description = "Demo for Microsoft's LayoutLMv2, 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'."
|
78 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2012.14740' target='_blank'>LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understanding</a> | <a href='https://github.com/PrashantSaikia/LayoutLMv2-FUNSD' target='_blank'>Github Repo</a></p>"
|
79 |
examples =[['82092117.png'], ['82200067_0069.png'], ['82250337_0338.png'], ['82251504.png'], ['82252956_2958.png'], ['82253058_3059.png'], ['00040534.png']]
|
|
|
73 |
return image
|
74 |
|
75 |
|
76 |
+
title = "Interactive demo: LayoutLMv2\nDeployed on Google Cloud with Kubernetes at http://34.146.138.209:8080"
|
77 |
description = "Demo for Microsoft's LayoutLMv2, 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'."
|
78 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2012.14740' target='_blank'>LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understanding</a> | <a href='https://github.com/PrashantSaikia/LayoutLMv2-FUNSD' target='_blank'>Github Repo</a></p>"
|
79 |
examples =[['82092117.png'], ['82200067_0069.png'], ['82250337_0338.png'], ['82251504.png'], ['82252956_2958.png'], ['82253058_3059.png'], ['00040534.png']]
|