Spaces:
Runtime error
Runtime error
Commit
·
bd1dfba
1
Parent(s):
70a4081
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def hand_written(image_raw):
|
|
73 |
title = "TrOCR + EN_ICR demo"
|
74 |
description = "TrOCR Handwritten Recognizer"
|
75 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.10282'>TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models</a> | <a href='https://github.com/microsoft/unilm/tree/master/trocr'>Github Repo</a></p>"
|
76 |
-
examples =[["img_hw_0.png"
|
77 |
|
78 |
iface = gr.Interface(fn=hand_written,
|
79 |
inputs=gr.inputs.Image(type="pil"),
|
|
|
73 |
title = "TrOCR + EN_ICR demo"
|
74 |
description = "TrOCR Handwritten Recognizer"
|
75 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.10282'>TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models</a> | <a href='https://github.com/microsoft/unilm/tree/master/trocr'>Github Repo</a></p>"
|
76 |
+
examples =[["img_hw_0.png"]]
|
77 |
|
78 |
iface = gr.Interface(fn=hand_written,
|
79 |
inputs=gr.inputs.Image(type="pil"),
|