Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ description = "西北工业大学航海学院张博强毕设,目前识别部
|
|
26 |
#article = "<p style='text-align: center'><a href='https://arxiv.org/pdf/2103.06495.pdf'>Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognition</a> | <a href='https://github.com/FangShancheng/ABINet'>Github Repo</a></p>"
|
27 |
|
28 |
iface = gr.Interface(fn=process_image,
|
29 |
-
inputs=gr.inputs.Image(type="pil"),
|
30 |
-
outputs=gr.outputs.Textbox(),
|
31 |
title=title,
|
32 |
description=description,
|
33 |
examples=glob.glob('figs/test/*.png'))
|
|
|
26 |
#article = "<p style='text-align: center'><a href='https://arxiv.org/pdf/2103.06495.pdf'>Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognition</a> | <a href='https://github.com/FangShancheng/ABINet'>Github Repo</a></p>"
|
27 |
|
28 |
iface = gr.Interface(fn=process_image,
|
29 |
+
inputs=[gr.inputs.Image(type="pil")],
|
30 |
+
outputs=[gr.outputs.Textbox()],
|
31 |
title=title,
|
32 |
description=description,
|
33 |
examples=glob.glob('figs/test/*.png'))
|