diff --git a/install.py b/install.py index c9c9f7c..4ee33a9 100644 --- a/install.py +++ b/install.py @@ -3,8 +3,8 @@ import launch if not launch.is_installed("mediapipe") or not launch.is_installed("mediapipe-silicon"): name = "Batch Face Swap" - if platform.system() == "Darwin": + if platform.system() == "Darwin" and platform.machine == "arm64": # MacOS launch.run_pip("install mediapipe-silicon", "requirements for Batch Face Swap for MacOS") else: - launch.run_pip("install mediapipe", "requirements for Batch Face Swap") \ No newline at end of file + launch.run_pip("install mediapipe", "requirements for Batch Face Swap")