Spaces:
Runtime error
Runtime error
Amanda commited on
Commit ·
e7cad16
1
Parent(s): 5d82008
Update app.py
Browse files
app.py
CHANGED
|
@@ -266,15 +266,20 @@ gradio-app h2, .gradio-app h2 {
|
|
| 266 |
"""
|
| 267 |
|
| 268 |
with gr.Blocks(css=CSS) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
gr.Markdown("# 🍀 Ashling Partners")
|
| 270 |
gr.Markdown("## 🥳 Document QA Playground")
|
| 271 |
gr.Markdown(
|
| 272 |
-
"This space
|
| 273 |
-
" uses LayoutLMv1 fine-tuned on DocVQA, a document visual question"
|
| 274 |
" answering dataset, as well as SQuAD, which boosts its English-language comprehension."
|
| 275 |
" To use it, simply upload an image or PDF, type a question, and click 'submit', or "
|
| 276 |
" click one of the examples to load them."
|
| 277 |
" DocQuery is MIT-licensed and available on [Github](https://github.com/impira/docquery)."
|
|
|
|
| 278 |
)
|
| 279 |
|
| 280 |
document = gr.Variable()
|
|
|
|
| 266 |
"""
|
| 267 |
|
| 268 |
with gr.Blocks(css=CSS) as demo:
|
| 269 |
+
gr.Markdown(
|
| 270 |
+
"""
|
| 271 |
+
# Ashling Partners
|
| 272 |
+

|
| 273 |
+
""")
|
| 274 |
gr.Markdown("# 🍀 Ashling Partners")
|
| 275 |
gr.Markdown("## 🥳 Document QA Playground")
|
| 276 |
gr.Markdown(
|
| 277 |
+
" This space uses LayoutLMv1 fine-tuned on DocVQA, a document visual question"
|
|
|
|
| 278 |
" answering dataset, as well as SQuAD, which boosts its English-language comprehension."
|
| 279 |
" To use it, simply upload an image or PDF, type a question, and click 'submit', or "
|
| 280 |
" click one of the examples to load them."
|
| 281 |
" DocQuery is MIT-licensed and available on [Github](https://github.com/impira/docquery)."
|
| 282 |
+
" This space is inspired by Impira's DocQuery Space."
|
| 283 |
)
|
| 284 |
|
| 285 |
document = gr.Variable()
|