nielsr HF staff commited on
Commit
4b41ae8
1 Parent(s): c023813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ add_vit_config(cfg)
17
  cfg.merge_from_file("cascade_dit_base.yaml")
18
 
19
  # Step 2: add model weights URL to config
20
- cfg.MODEL.WEIGHTS = https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_mrcnn.pth
21
 
22
  # Step 3: set device
23
  # TODO also support GPU
 
17
  cfg.merge_from_file("cascade_dit_base.yaml")
18
 
19
  # Step 2: add model weights URL to config
20
+ cfg.MODEL.WEIGHTS = "https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_mrcnn.pth"
21
 
22
  # Step 3: set device
23
  # TODO also support GPU