nielsr HF staff commited on
Commit
b06234a
1 Parent(s): a07666b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def add_vit_config(cfg):
46
  # Step 1: instantiate config
47
  cfg = get_cfg()
48
  add_vit_config(cfg)
49
- cfg.merge_from_file("./cascade_dit_base.yaml")
50
 
51
  # Step 2: add model weights URL to config
52
  cfg.MODEL.WEIGHTS = "https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_mrcnn.pth"
 
46
  # Step 1: instantiate config
47
  cfg = get_cfg()
48
  add_vit_config(cfg)
49
+ cfg.merge_from_file("cascade_dit_base.yml")
50
 
51
  # Step 2: add model weights URL to config
52
  cfg.MODEL.WEIGHTS = "https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_mrcnn.pth"