Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -84,14 +84,14 @@ examples = [
|
|
84 |
"statement.png",
|
85 |
"What are net sales for 2020?",
|
86 |
],
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
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("#
|
292 |
gr.Markdown(
|
293 |
-
"
|
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 "
|