Skip to content

Commit

Permalink
added revision
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Omenetti <[email protected]>
  • Loading branch information
Matteo-Omenetti committed Jan 21, 2025
1 parent a9be473 commit 27e5aa9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_code_formula_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def init() -> dict:
}

# Download models from HF
download_path = snapshot_download(repo_id="ds4sd/CodeFormula")
artifact_path = os.path.join(download_path, "")
artifact_path = snapshot_download(repo_id="ds4sd/CodeFormula", revision="v1.0.0")

init["artifact_path"] = artifact_path

Expand Down

0 comments on commit 27e5aa9

Please sign in to comment.