Skip to content

Commit

Permalink
chore: Change layout model path to a valid path (#43)
Browse files Browse the repository at this point in the history
Signed-off-by: Pang Jin Hui <[email protected]>
  • Loading branch information
arceushui authored Oct 29, 2024
1 parent 09022d2 commit 0683efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/demo_layout_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def main(args):

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

# Test the LayoutPredictor
demo(logger, artifact_path, num_threads, img_dir, viz_dir)
Expand Down

0 comments on commit 0683efc

Please sign in to comment.