sushmanth commited on
Commit
068340a
1 Parent(s): 25b38ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def process_image(image):
26
  return generated_text
27
 
28
  title = "Interactive demo: TrOCR"
29
- description = "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"]]
32
 
 
26
  return generated_text
27
 
28
  title = "Interactive demo: TrOCR"
29
+ description = "Demo for ML project for s6 semester .The model is trained and converted to onnx gitlfs system and then hosted on hugging face spaces as transformer "
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"]]
32