Msp commited on
Commit
e889543
1 Parent(s): 3263300

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -84,14 +84,14 @@ examples = [
84
  "statement.png",
85
  "What are net sales for 2020?",
86
  ],
87
- # [
88
- # "docquery.png",
89
- # "How many likes does the space have?",
90
- # ],
91
- # [
92
- # "hacker_news.png",
93
- # "What is the title of post number 5?",
94
- # ],
95
  ]
96
 
97
  question_files = {
@@ -288,9 +288,9 @@ gradio-app h2, .gradio-app h2 {
288
  """
289
 
290
  with gr.Blocks(css=CSS) as demo:
291
- gr.Markdown("# DocQuery: Document Query Engine")
292
  gr.Markdown(
293
- "DocQuery (created by [Impira](https://impira.com?utm_source=huggingface&utm_medium=referral&utm_campaign=docquery_space))"
294
  " uses LayoutLMv1 fine-tuned on DocVQA, a document visual question"
295
  " answering dataset, as well as SQuAD, which boosts its English-language comprehension."
296
  " To use it, simply upload an image or PDF, type a question, and click 'submit', or "
 
84
  "statement.png",
85
  "What are net sales for 2020?",
86
  ],
87
+ [
88
+ "docquery.png",
89
+ "How many likes does the space have?",
90
+ ],
91
+ [
92
+ "hacker_news.png",
93
+ "What is the title of post number 5?",
94
+ ],
95
  ]
96
 
97
  question_files = {
 
288
  """
289
 
290
  with gr.Blocks(css=CSS) as demo:
291
+ gr.Markdown("# Document Parser: Document Parser Engine")
292
  gr.Markdown(
293
+ "Document_Parser is built on top of DocQuery library)"
294
  " uses LayoutLMv1 fine-tuned on DocVQA, a document visual question"
295
  " answering dataset, as well as SQuAD, which boosts its English-language comprehension."
296
  " To use it, simply upload an image or PDF, type a question, and click 'submit', or "