      """ Override the configured backend with the given backend.
  
      Parameters
      ----------
      backend: ["amd", "cpu", "nvidia", "apple"]
          The backend to set faceswap to
      """
      global _FS_BACKEND  # pylint:disable=global-statement
      _FS_BACKEND = backend.lower()
  
 
</s> remove         self._backends = {"1": "amd", "2": "cpu", "3": "nvidia", "4": "apple"}
 </s> add         self._backends = {"1": "amd", "2": "cpu", "3": "nvidia", "4": "apple_silicon"} </s> remove             selection = input("1: AMD, 2: CPU, 3: NVIDIA, 4: Apple: ")
 </s> add             selection = input("1: AMD, 2: CPU, 3: NVIDIA, 4: Apple Silicon: ") </s> remove             backend = "apple"
 </s> add             backend = "apple_silicon" </s> remove elif backend == "apple":
 </s> add elif backend == "apple_silicon":
    backend: ["amd", "cpu", "nvidia", "apple_silicon"]
      """ Override the configured backend with the given backend.
  
      Parameters
      ----------
    backend: ["amd", "cpu", "nvidia", "apple_silicon"]
          The backend to set faceswap to
      """
      global _FS_BACKEND  # pylint:disable=global-statement
      _FS_BACKEND = backend.lower()
  
keep keep keep keep replace keep keep keep keep keep
 Rename Apple Silicon backend to apple_silicon 
lib/utils.py