Update app.py
Browse files
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
|