nielsr HF staff commited on
Commit
027d1f8
·
1 Parent(s): 441d897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ demo = gr.Interface(
47
  title=f"Demo: Donut 🍩 for DocVQA",
48
  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."
49
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>",
50
- enable_queue=True,
51
- examples=[["example_1.png", "When is the coffee break?"]],
52
  cache_examples=False)
53
 
54
  demo.launch()
 
47
  title=f"Demo: Donut 🍩 for DocVQA",
48
  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."
49
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>",
50
+ enable_queue=True,
51
+ examples=[["example_1.png", "When is the coffee break?"]],
52
  cache_examples=False)
53
 
54
  demo.launch()