Skip to content

Commit 0683efc

Browse files
authored
chore: Change layout model path to a valid path (#43)
Signed-off-by: Pang Jin Hui <[email protected]>
1 parent 09022d2 commit 0683efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/demo_layout_predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def main(args):
9797

9898
# Download models from HF
9999
download_path = snapshot_download(repo_id="ds4sd/docling-models")
100-
artifact_path = os.path.join(download_path, "model_artifacts/layout/beehive_v0.0.5")
100+
artifact_path = os.path.join(download_path, "model_artifacts/layout/beehive_v0.0.5_pt")
101101

102102
# Test the LayoutPredictor
103103
demo(logger, artifact_path, num_threads, img_dir, viz_dir)

0 commit comments

Comments
 (0)