  
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
      def _filetypes(self):
          """ dict: The accepted extensions for each file type for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = dict(
              default=(all_files,),
              alignments=[("Faceswap Alignments", "*.fsa"), all_files],
 
</s> remove             default=(all_files,),
 </s> add             default=[all_files], </s> remove         self.commands = dict()
        self.opts = dict()
 </s> add         self.commands = {}
        self.opts = {} </s> remove         defaults = {key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
                    for key, val in self._filetypes.items()}
 </s> add         defaults: Dict[str, Optional[str]] = {
            key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
            for key, val in self._filetypes.items()} </s> remove         self._pathoutput = None
        self._previewoutput = None
        self._previewtrain = {}
        self._previewcache = dict(modified=None,  # cache for extract and convert
                                  images=None,
                                  filenames=[],
                                  placeholder=None)
 </s> add         self._pathoutput: Optional[str] = None
        self._batch_mode = False
        self._previewoutput: Optional[Tuple[Image.Image, ImageTk.PhotoImage]] = None
        self._previewtrain: Dict[str, List[Union[Image.Image,
                                                 ImageTk.PhotoImage,
                                                 None,
                                                 float]]] = {}
        self._previewcache: Dict[str, Union[None, float, np.ndarray, List[str]]] = dict(
            modified=None,  # cache for extract and convert
            images=None,
            filenames=[],
            placeholder=None) </s> remove     def root(self):
 </s> add     def root(self) -> tk.Tk:
    def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]:
  
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
    def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]:
          """ dict: The accepted extensions for each file type for opening/saving """
          all_files = ("All files", "*.*")
          filetypes = dict(
              default=(all_files,),
              alignments=[("Faceswap Alignments", "*.fsa"), all_files],
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py