Update app.py
Browse files
app.py
CHANGED
@@ -15,4 +15,6 @@ o2 = gr.outputs.Textbox()
|
|
15 |
title = "CRAFT-OCR"
|
16 |
description = "OCR of both handwriting and printed text using CRAFT Text detector and TrOCR recoginition"
|
17 |
examples=[['example_1.png'],['example_2.jpg']]
|
18 |
-
|
|
|
|
|
|
15 |
title = "CRAFT-OCR"
|
16 |
description = "OCR of both handwriting and printed text using CRAFT Text detector and TrOCR recoginition"
|
17 |
examples=[['example_1.png'],['example_2.jpg']]
|
18 |
+
|
19 |
+
article = "<p style='text-align: center'><a href='https://github.com/Vishnunkumar/craft_hw_ocr' target='_blank'>craft_hw_ocr</a></p><p style='text-align: center'> <p style='text-align: center'><a href='https://github.com/fcakyon/craft-text-detector' target='_blank'>craft-text-detector</a></p><p style='text-align: center'>"
|
20 |
+
gr.Interface(fn=do_ocr, inputs=inputs, outputs=[o1, o2], title=title, description=description, article=article, examples=examples, enable_queue=True).launch()
|