  
  def extract_args(detector, aligner, in_path, out_path, args=None):
      """ Extraction command """
      py_exe = sys.executable
      _extract_args = "%s faceswap.py extract -i %s -o %s -D %s -A %s" % (
          py_exe, in_path, out_path, detector, aligner
      )
      if args:
          _extract_args += " %s" % args
      return _extract_args.split()
  
  
 
</s> remove         _extract_args += " %s" % args
 </s> add         _extract_args += f" {args}" </s> remove     conv_args = "%s faceswap.py convert -i %s -o %s -m %s -w %s" % (
        py_exe, in_path, out_path, model_path, writer
    )
 </s> add     conv_args = (f"{py_exe} faceswap.py convert -i {in_path} -o {out_path} -m {model_path} "
                 f"-w {writer}") </s> remove         conv_args += " %s" % args
 </s> add         conv_args += f" {args}" </s> remove def train_args(model, model_path, faces, alignments, iterations=5, batchsize=8, extra_args=""):
 </s> add def train_args(model, model_path, faces, iterations=1, batchsize=4, extra_args=""): </s> remove     _sort_args = "%s tools.py sort -i %s -o %s -s %s -fp %s -g %s -k" % (
        py_exe, in_path, out_path, sortby, method, groupby
    )
 </s> add     _sort_args = (f"{py_exe} tools.py sort -i {in_path} -o {out_path} -s {sortby} -fp {method} "
                  f"-g {groupby} -k")
    _extract_args = (f"{py_exe} faceswap.py extract -i {in_path} -o {out_path} -D {detector} "
                     f"-A {aligner}")
  
  def extract_args(detector, aligner, in_path, out_path, args=None):
      """ Extraction command """
      py_exe = sys.executable
    _extract_args = (f"{py_exe} faceswap.py extract -i {in_path} -o {out_path} -D {detector} "
                     f"-A {aligner}")
    _extract_args = (f"{py_exe} faceswap.py extract -i {in_path} -o {out_path} -D {detector} "
                     f"-A {aligner}")
    _extract_args = (f"{py_exe} faceswap.py extract -i {in_path} -o {out_path} -D {detector} "
                     f"-A {aligner}")
      if args:
          _extract_args += " %s" % args
      return _extract_args.split()
  
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Fix AMD Tests + docs 
tests/simple_tests.py