  """ Install packages for faceswap.py """
  
  # >>> ENV
  import ctypes
  import locale
  import os
  import re
  import sys
  import platform
 
</s> remove from lib.utils import FaceswapError, safe_shutdown
 </s> add from lib.utils import FaceswapError, get_backend, safe_shutdown
import json
  """ Install packages for faceswap.py """
  
  # >>> ENV
  import ctypes
import json
  import locale
  import os
  import re
  import sys
  import platform
keep keep keep add keep keep keep keep keep
 More seamless AMD Integration

- utils.py: Set FS backend if .faceswap config file doesn't exist
- setup.py: set .faceswap config on setup
- Dynamically load options for AMD/CPU/NVIDIA backends 
setup.py