abhibisht89 commited on
Commit
176b8ed
1 Parent(s): c8c0811

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ description = "Gradio Demo for Donut, inspired by Nielsr demo"
43
  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>"
44
 
45
  demo = gr.Interface(
46
- fn=process_document,
47
  inputs=["image", "text"],
48
  outputs="json",
49
  title="Demo: Donut 🍩 for DocVQA",
 
43
  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>"
44
 
45
  demo = gr.Interface(
46
+ fn= doc_process,
47
  inputs=["image", "text"],
48
  outputs="json",
49
  title="Demo: Donut 🍩 for DocVQA",