RishuD7 commited on
Commit
13c2cfc
·
1 Parent(s): 0c7c3cc

removed description

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -39,7 +39,6 @@ def process_document(image):
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(
@@ -47,7 +46,6 @@ demo = gr.Interface(
47
  inputs="image",
48
  outputs="json",
49
  title="Tempelate-Free OCR model",
50
- description=description,
51
  article=article,
52
  enable_queue=True,
53
  examples=[["example.png"], ["example_2.png"], ["example_3.png"]],
 
39
 
40
  return processor.token2json(sequence)
41
 
 
42
  article = "<p style='text-align: center'><a href='https://www.xelpmoc.in/' target='_blank'>Made by Xelpmoc</a></p>"
43
 
44
  demo = gr.Interface(
 
46
  inputs="image",
47
  outputs="json",
48
  title="Tempelate-Free OCR model",
 
49
  article=article,
50
  enable_queue=True,
51
  examples=[["example.png"], ["example_2.png"], ["example_3.png"]],