RishuD7 commited on
Commit
0c7c3cc
·
1 Parent(s): 7c99e50

changes in description

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,14 +39,14 @@ def process_document(image):
39
 
40
  return processor.token2json(sequence)
41
 
42
- description = "Tempelate-Free OCR model"
43
  article = "<p style='text-align: center'><a href='https://www.xelpmoc.in/' target='_blank'>Made by Xelpmoc</a></p>"
44
 
45
  demo = gr.Interface(
46
  fn=process_document,
47
  inputs="image",
48
  outputs="json",
49
- title="Demo: Donut 🍩 for Document Parsing",
50
  description=description,
51
  article=article,
52
  enable_queue=True,
 
39
 
40
  return processor.token2json(sequence)
41
 
42
+ description = "Gradio Demo for Donut, an instance of `VisionEncoderDecoderModel` fine-tuned on DocVQA (document visual question answering). To use it, simply upload your image and type a question and click ‘submit’, or click one of the examples to load them. Read more at the links below."
43
  article = "<p style='text-align: center'><a href='https://www.xelpmoc.in/' target='_blank'>Made by Xelpmoc</a></p>"
44
 
45
  demo = gr.Interface(
46
  fn=process_document,
47
  inputs="image",
48
  outputs="json",
49
+ title="Tempelate-Free OCR model",
50
  description=description,
51
  article=article,
52
  enable_queue=True,