          with open(config_file, "w", encoding="utf8") as cnf:
              json.dump(config, cnf)
          self.output.info(f"Faceswap config written to: {config_file}")
  
      def set_ld_library_path(self):
          """ Update the LD_LIBRARY_PATH environment variable when activating a conda environment
          and revert it when deactivating.
  
          Notes
          -----
 
</s> remove         and revert it when deactivating.
 </s> add         and revert it when deactivating. Linux/conda only </s> remove         if not self.is_conda or not self.enable_cuda:
            return

        if self.os_version[0] == "Windows":
 </s> add         if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux": </s> remove     def set_config(self):
 </s> add     def set_config(self) -> None: </s> remove     def is_virtualenv(self):
 </s> add     def is_virtualenv(self) -> bool: </s> remove     "imageio-ffmpeg": ("imageio-ffmpeg", "conda-forge")}
 </s> add     "imageio-ffmpeg": ("imageio-ffmpeg", "conda-forge"),
    "tensorflow-deps": ("tensorflow-deps", "apple"),
    "libblas": ("libblas", "conda-forge")}
    def set_ld_library_path(self) -> None:
          with open(config_file, "w", encoding="utf8") as cnf:
              json.dump(config, cnf)
          self.output.info(f"Faceswap config written to: {config_file}")
  
    def set_ld_library_path(self) -> None:
          """ Update the LD_LIBRARY_PATH environment variable when activating a conda environment
          and revert it when deactivating.
  
          Notes
          -----
keep keep keep keep replace keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py