pierreguillou commited on
Commit
2618251
·
1 Parent(s): a2cda1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -51,6 +51,10 @@ os.system('python -m pip install --upgrade pip')
51
 
52
  ## model / feature extractor / tokenizer
53
 
 
 
 
 
54
  # get device
55
  import torch
56
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
51
 
52
  ## model / feature extractor / tokenizer
53
 
54
+ # models
55
+ model_id_lilt = "pierreguillou/lilt-xlm-roberta-base-finetuned-with-DocLayNet-base-at-paragraphlevel-ml512"
56
+ model_id_layoutxlm = "pierreguillou/layout-xlm-base-finetuned-with-DocLayNet-base-at-paragraphlevel-ml512"
57
+
58
  # get device
59
  import torch
60
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")