vishnun commited on
Commit
d4e28b3
β€’
1 Parent(s): d153dea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- gr.Interface(fn=do_ocr, inputs=inputs, outputs=[o1, o2], title=title, description=description, examples=examples,enable_queue=True).launch()
 
 
 
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()