          The taskbar widget which holds the scaling variables
      image: :class:`_Image`
          The object which holds the source and display version of the preview image
      """
      def __init__(self,
                   canvas: _PreviewCanvas,
                   taskbar: _Taskbar,
                   image: _Image,
 
</s> remove     def __init__(self, canvas: _PreviewCanvas, taskbar: _Taskbar, image: _Image) -> None:
 </s> add     def __init__(self,
                 canvas: _PreviewCanvas,
                 taskbar: _Taskbar,
                 image: _Image,
                 is_standalone: bool) -> None: </s> remove         Parameters
        ----------
        name: str
            The name of the training image to be resized
        frame_dims: tuple, optional
            The (width (`int`), height (`int`)) of the display panel that will display the preview.
            ``None`` if the frame dimensions are not known.
 </s> add         Should be called when terminating tasks, or when Faceswap starts up or shuts down. </s> remove     is_standalone: bool
        ``True`` if preview is a pop-up window otherwise ``False``
 </s> add     taskbar: :class:`tkinter.ttk.Frame` or ``None``
        None if preview is a pop-up window otherwise ttk.Frame if taskbar is managed by the GUI </s> remove     def __init__(self, parent: tk.Frame, is_standalone: bool) -> None:
        logger.debug("Initializing %s (parent: '%s', is_standalone: %s)",
                     self.__class__.__name__, parent, is_standalone)
        super().__init__(parent)
 </s> add     def __init__(self, parent: tk.Frame, taskbar: Optional[ttk.Frame]) -> None:
        logger.debug("Initializing %s (parent: '%s', taskbar: %s)",
                     self.__class__.__name__, parent, taskbar)
        self._is_standalone = taskbar is None
        self._gui_mapped: List[tk.Widget] = []
        self._frame = tk.Frame(parent) if taskbar is None else taskbar

    is_standalone: bool
        ``True`` if the preview is standalone, ``False`` if it is embedded in the GUI
          The taskbar widget which holds the scaling variables
      image: :class:`_Image`
          The object which holds the source and display version of the preview image
    is_standalone: bool
        ``True`` if the preview is standalone, ``False`` if it is embedded in the GUI
      """
      def __init__(self,
                   canvas: _PreviewCanvas,
                   taskbar: _Taskbar,
                   image: _Image,
keep keep add keep keep keep keep keep
 GUI - Preview updates
  - Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews 
lib/training/preview_tk.py