Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,7 @@ def process_document(image):
|
|
41 |
return processor.token2json(sequence)
|
42 |
|
43 |
description = "Gradio Demo for Donut, an instance of `VisionEncoderDecoderModel` fine-tuned on CORD dataset. To use it, simply upload your image and click 'submit', or click one of the examples to load them. Read more at the links below."
|
|
|
44 |
|
45 |
|
46 |
demo = gr.Interface(
|
|
|
41 |
return processor.token2json(sequence)
|
42 |
|
43 |
description = "Gradio Demo for Donut, an instance of `VisionEncoderDecoderModel` fine-tuned on CORD dataset. To use it, simply upload your image and click 'submit', or click one of the examples to load them. Read more at the links below."
|
44 |
+
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>"
|
45 |
|
46 |
|
47 |
demo = gr.Interface(
|