          elif self.enable_cuda:
              backend = "nvidia"
          else:
              backend = "cpu"
          config = {"backend": backend}
          pypath = os.path.dirname(os.path.realpath(__file__))
          config_file = os.path.join(pypath, "config", ".faceswap")
 
</s> remove     def set_config(self):
 </s> add     def set_config(self) -> None: </s> remove             self.required_packages.append(custom_tf)
 </s> add             self.required_packages.append((custom_tf, (custom_tf, ""))) </s> remove     def get_required_packages(self):
 </s> add     def get_required_packages(self) -> None:
        elif self.enable_apple_silicon:
            backend = "apple_silicon"
          elif self.enable_cuda:
              backend = "nvidia"
        elif self.enable_apple_silicon:
            backend = "apple_silicon"
          else:
              backend = "cpu"
          config = {"backend": backend}
          pypath = os.path.dirname(os.path.realpath(__file__))
          config_file = os.path.join(pypath, "config", ".faceswap")
keep add keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py