Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ description = "Demo for Microsoft's TrOCR, an encoder-decoder model \
|
|
18 |
decoder for state-of-the-art optical character recognition (OCR) on \
|
19 |
single-text line images. This particular model is fine-tuned on IAM, \
|
20 |
a dataset of annotated handwritten images."
|
21 |
-
article = "<p style='text-align: center'><a target=
|
22 |
|
23 |
iface = gr.Interface(fn=process_image,
|
24 |
inputs=gr.inputs.Image(type="pil"),
|
|
|
18 |
decoder for state-of-the-art optical character recognition (OCR) on \
|
19 |
single-text line images. This particular model is fine-tuned on IAM, \
|
20 |
a dataset of annotated handwritten images."
|
21 |
+
article = "<p style='text-align: center'><a target='_blank' href='https://arxiv.org/abs/2109.10282'>Transformer Optical Character Recognition with Pre-trained Models</a> | <a target='_blank' href='https://github.com/microsoft/unilm/tree/master/trocr'>Github Repo</a></p>"
|
22 |
|
23 |
iface = gr.Interface(fn=process_image,
|
24 |
inputs=gr.inputs.Image(type="pil"),
|