vincentclaes commited on
Commit
f2244fa
1 Parent(s): f177f27

add documentation

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -428,8 +428,13 @@ examples = [
428
  ]
429
 
430
  with gr.Blocks(css=CSS) as demo:
431
- gr.Markdown("# Document Question Answer Comparator Engine")
432
- gr.Markdown("This space compares some of the latest models that can be used commercially.")
 
 
 
 
 
433
 
434
  document = gr.Variable()
435
  example_question = gr.Textbox(visible=False)
 
428
  ]
429
 
430
  with gr.Blocks(css=CSS) as demo:
431
+ gr.Markdown("# Document Question Answer Comparator")
432
+ gr.Markdown("""
433
+ This space compares some of the latest models that can be used commercially.
434
+ - [LayoutLM](https://huggingface.co/impira/layoutlm-document-qa) uses text/layout and images. Uses tesseract for OCR.
435
+ - [Donut](https://huggingface.co/naver-clova-ix/donut-base-finetuned-docvqa) OCR free document understanding. Uses vision encoder for OCR and a text decoder for providing the answer.
436
+ - [Textract Query](https://docs.aws.amazon.com/textract/latest/dg/what-is.html) OCR + document understanding solution of AWS.
437
+ """)
438
 
439
  document = gr.Variable()
440
  example_question = gr.Textbox(visible=False)