Vaibhav Srivastav commited on
Commit
20ead2c
1 Parent(s): 9748913

localisation -> deutsch pt 2

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -21,9 +21,9 @@ def ensure_list(x):
21
 
22
 
23
  CHECKPOINTS = {
24
- "LayoutLMv1 🦉": "impira/layoutlm-document-qa",
25
- "LayoutLMv1 for Invoices 💸": "impira/layoutlm-invoices",
26
- "Donut 🍩": "naver-clova-ix/donut-base-finetuned-docvqa",
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
- "Clear", variant="secondary", elem_id="file-clear", visible=False
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):