Spaces:
Runtime error
Runtime error
Vaibhav Srivastav
commited on
Commit
•
20ead2c
1
Parent(s):
9748913
localisation -> deutsch pt 2
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ def ensure_list(x):
|
|
21 |
|
22 |
|
23 |
CHECKPOINTS = {
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
}
|
28 |
|
29 |
PIPELINES = {}
|
@@ -289,7 +289,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
289 |
with gr.Row():
|
290 |
gr.Markdown("## 1. Datei aushwählen", elem_id="select-a-file")
|
291 |
img_clear_button = gr.Button(
|
292 |
-
"
|
293 |
)
|
294 |
image = gr.Gallery(visible=False)
|
295 |
with gr.Row(equal_height=True):
|
|
|
21 |
|
22 |
|
23 |
CHECKPOINTS = {
|
24 |
+
"Modell für allg. PDF": "impira/layoutlm-document-qa",
|
25 |
+
"Modell für Rechnungen": "impira/layoutlm-invoices",
|
26 |
+
"Modell für Volltexte": "naver-clova-ix/donut-base-finetuned-docvqa",
|
27 |
}
|
28 |
|
29 |
PIPELINES = {}
|
|
|
289 |
with gr.Row():
|
290 |
gr.Markdown("## 1. Datei aushwählen", elem_id="select-a-file")
|
291 |
img_clear_button = gr.Button(
|
292 |
+
"Löschen", variant="secondary", elem_id="file-clear", visible=False
|
293 |
)
|
294 |
image = gr.Gallery(visible=False)
|
295 |
with gr.Row(equal_height=True):
|