Skip to content

Commit

Permalink
enforce package install, less efficient but more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
glucauze committed Aug 7, 2023
1 parent e6592a1 commit 0a9d992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def is_installed(package: str) -> bool:
required_version = parse(package.split(">=")[1])
return installed_version >= required_version
else:
return True
return launch.is_installed(package_name)

print("Checking faceswaplab requirements")
with open(req_file) as file:
Expand Down

0 comments on commit 0a9d992

Please sign in to comment.