          if not generate:
              args.append("-gui")  # Indicate to Faceswap that we are running the GUI
          if generate:
              # Delimit args with spaces
              args = ['"{}"'.format(arg) if " " in arg else arg for arg in args]
          logger.debug("Built cli arguments: (%s)", args)
          return args
  
      @staticmethod
      def init_training_session(cliopt):
 
</s> remove                     optval = optval.split(" ")
 </s> add                     if "\"" in optval:
                        optval = [arg[1:-1] for arg in re.findall(r"\".+?\"", optval)]
                    else:
                        optval = optval.split(" ") </s> remove                     "\n'merge': Merge multiple alignment files into one. Specify the main"
                    "\n\talignments file with the -a flag and the file to be merged with the"
                    "\n\t-a2 flag."
 </s> add                     "\n'merge': Merge multiple alignment files into one. Specify a space "
                    "\n\tseparated list of alignments files with the -a flag." </s> remove         super(FileFullPaths, self).__init__(option_strings, dest, **kwargs)
        if nargs is not None:
            raise ValueError("nargs not allowed")
 </s> add         super().__init__(option_strings, dest, nargs, **kwargs) </s> remove         setattr(namespace, self.dest, os.path.abspath(
            os.path.expanduser(values)))
 </s> add         if isinstance(values, (list, tuple)):
            vals = [os.path.abspath(os.path.expanduser(val)) for val in values]
        else:
            vals = os.path.abspath(os.path.expanduser(values))
        setattr(namespace, self.dest, vals)
            args = ['"{}"'.format(arg) if " " in arg and not arg.startswith(("[", "("))
                    and not arg.endswith(("]", ")")) else arg
                    for arg in args]
          if not generate:
              args.append("-gui")  # Indicate to Faceswap that we are running the GUI
          if generate:
              # Delimit args with spaces
            args = ['"{}"'.format(arg) if " " in arg and not arg.startswith(("[", "("))
                    and not arg.endswith(("]", ")")) else arg
                    for arg in args]
          logger.debug("Built cli arguments: (%s)", args)
          return args
  
      @staticmethod
      def init_training_session(cliopt):
keep keep keep keep replace keep keep keep keep keep
 Alignments Tool: Allow merging of many alignments file

Adds multi select functionality to GUI, meaning multiple alignments files can now be selected for merging.

Extract: nFilter, Filter now have a file dialog in gui for selecting 1/multiple files 
lib/gui/wrapper.py