Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,8 +34,7 @@ def process_document(image):
|
|
| 34 |
|
| 35 |
description = """Gradio Demo for Donut, an instance of `VisionEncoderDecoderModel` fine-tuned on SROI (document parsing & information extraction).
|
| 36 |
To use it, simply upload your image and click 'submit', or click one of the examples to load them.
|
| 37 |
-
|
| 38 |
-
<strong><em>Note: </em>Predictions are more accurate on GPU.</strong><br>
|
| 39 |
<em>Output: </em>extracts [date, company, total] from the document.
|
| 40 |
"""
|
| 41 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
|
|
|
|
| 34 |
|
| 35 |
description = """Gradio Demo for Donut, an instance of `VisionEncoderDecoderModel` fine-tuned on SROI (document parsing & information extraction).
|
| 36 |
To use it, simply upload your image and click 'submit', or click one of the examples to load them.
|
| 37 |
+
<br>
|
|
|
|
| 38 |
<em>Output: </em>extracts [date, company, total] from the document.
|
| 39 |
"""
|
| 40 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
|