Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
arogozhnikov committed Oct 19, 2024
1 parent 6393340 commit fcd8f26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chai_lab/utils/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def chai1_component(comp_key: str) -> Path:
assert comp_key.endswith(".pt2")
url = f"https://chaiassets.com/chai1-inference-depencencies/models/{comp_key}"
result = downloads_path.joinpath("models", comp_key)
if not result.exists():
download_if_not_exists(url, result)
download_if_not_exists(url, result)

return result

0 comments on commit fcd8f26

Please sign in to comment.