          self._icons = self._load_icons()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
      def previewoutput(self):
          """ Tuple or ``None``: First item in the tuple is the extract or convert preview image
          (:class:`PIL.Image`), the second item is the image in a format that tkinter can display
          (:class:`PIL.ImageTK.PhotoImage`).
  
          The value of the property is ``None`` if no extract or convert task is running or there are
 
</s> remove     def previewtrain(self):
 </s> add     def previewtrain(self) -> Dict[str, List[Union[Image.Image, ImageTk.PhotoImage, None, float]]]: </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 default_font(self):
 </s> add     def default_font(self) -> Tuple[str, int]: </s> remove     def delete_preview(self):
 </s> add     def delete_preview(self) -> None:
    def previewoutput(self) -> Optional[Tuple[Image.Image, ImageTk.PhotoImage]]:
          self._icons = self._load_icons()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
    def previewoutput(self) -> Optional[Tuple[Image.Image, ImageTk.PhotoImage]]:
          """ Tuple or ``None``: First item in the tuple is the extract or convert preview image
          (:class:`PIL.Image`), the second item is the image in a format that tkinter can display
          (:class:`PIL.ImageTK.PhotoImage`).
  
          The value of the property is ``None`` if no extract or convert task is running or there are
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py