Srinivas T B commited on
Commit
8eaa77d
1 Parent(s): d1d2a97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def process_image(image):
25
 
26
  return generated_text
27
 
28
- title = "Interactive demo: TrOCR"
29
  description = "Srini is the best leo's are the best people in the world :) technically speaking ah this is a demo for Microsoft's TrOCR, an encoder-decoder model consisting of an image Transformer encoder and a text Transformer decoder for state-of-the-art optical character recognition (OCR) on single-text line images. This particular model is fine-tuned on IAM, a dataset of annotated handwritten images. To use it, simply upload a (single-text line) image or use one of the example images below and click 'submit'. Results will show up in a few seconds."
30
  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>"
31
  examples =[["image_0.png"], ["image_1.png"], ["image_2.png"]]
 
25
 
26
  return generated_text
27
 
28
+ title = "srini is the best :)"
29
  description = "Srini is the best leo's are the best people in the world :) technically speaking ah this is a demo for Microsoft's TrOCR, an encoder-decoder model consisting of an image Transformer encoder and a text Transformer decoder for state-of-the-art optical character recognition (OCR) on single-text line images. This particular model is fine-tuned on IAM, a dataset of annotated handwritten images. To use it, simply upload a (single-text line) image or use one of the example images below and click 'submit'. Results will show up in a few seconds."
30
  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>"
31
  examples =[["image_0.png"], ["image_1.png"], ["image_2.png"]]