Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ description = "Invoice Information Extraction - We use Microsoft's LayoutLMv3 tr
|
|
113 |
|
114 |
article="<b>References</b><br>[1] Y. Xu et al., “LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking.” 2022. <a href='https://arxiv.org/abs/2204.08387'>Paper Link</a><br>[2] <a href='https://github.com/NielsRogge/Transformers-Tutorials/tree/master/LayoutLMv3'>LayoutLMv3 training and inference</a>"
|
115 |
|
116 |
-
examples =[['example1.png'],['example2.png'],['example3.png']]
|
117 |
|
118 |
css = """.output_image, .input_image {height: 600px !important}"""
|
119 |
|
@@ -123,7 +123,7 @@ iface = gr.Interface(fn=process_image,
|
|
123 |
title=title,
|
124 |
description=description,
|
125 |
article=article,
|
126 |
-
examples=examples,
|
127 |
css=css,
|
128 |
analytics_enabled = True, enable_queue=True)
|
129 |
|
|
|
113 |
|
114 |
article="<b>References</b><br>[1] Y. Xu et al., “LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking.” 2022. <a href='https://arxiv.org/abs/2204.08387'>Paper Link</a><br>[2] <a href='https://github.com/NielsRogge/Transformers-Tutorials/tree/master/LayoutLMv3'>LayoutLMv3 training and inference</a>"
|
115 |
|
116 |
+
#examples =[['example1.png'],['example2.png'],['example3.png']]
|
117 |
|
118 |
css = """.output_image, .input_image {height: 600px !important}"""
|
119 |
|
|
|
123 |
title=title,
|
124 |
description=description,
|
125 |
article=article,
|
126 |
+
#examples=examples,
|
127 |
css=css,
|
128 |
analytics_enabled = True, enable_queue=True)
|
129 |
|