sneedium commited on
Commit
1a299ef
·
1 Parent(s): b1838af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -23,9 +23,8 @@ def process_image(image):
23
  res = model(img)
24
  return postprocess(res, charset, 'alignment')[0][0]
25
 
26
- title = "Interactive demo: ABINet"
27
- description = "Demo for ABINet, ABINet uses a vision model and an explicit language model to recognize text in the wild, which are trained in end-to-end way. The language model (BCN) achieves bidirectional language representation in simulating cloze test, additionally utilizing iterative correction strategy. 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."
28
- 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>"
29
 
30
  iface = gr.Interface(fn=process_image,
31
  inputs=gr.inputs.Image(type="pil"),
 
23
  res = model(img)
24
  return postprocess(res, charset, 'alignment')[0][0]
25
 
26
+ title = "Made with IterNet"
27
+ description = "I hate captchas"
 
28
 
29
  iface = gr.Interface(fn=process_image,
30
  inputs=gr.inputs.Image(type="pil"),