      """ Class and methods for the command line options """
      def __init__(self):
          logger.debug("Initializing %s", self.__class__.__name__)
          self.categories = ("faceswap", "tools")
          self.commands = dict()
          self.opts = dict()
          self.build_options()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build_options(self):
          """ Get the commands that belong to each category """
 
</s> remove     def _filetypes(self):
 </s> add     def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]: </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 __init__(self):
 </s> add     def __init__(self) -> None: </s> remove         ctl_dict = dict()
 </s> add         ctl_dict = {} </s> remove         subopts = dict()
 </s> add         subopts = {}
        self.commands = {}
        self.opts = {}
      """ Class and methods for the command line options """
      def __init__(self):
          logger.debug("Initializing %s", self.__class__.__name__)
          self.categories = ("faceswap", "tools")
        self.commands = {}
        self.opts = {}
        self.commands = {}
        self.opts = {}
          self.build_options()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build_options(self):
          """ Get the commands that belong to each category """
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/options.py