                                 ("bicubic", cv2.INTER_CUBIC)]
          self._scale = self._add_scale_combo()
          self._slider = self._add_scale_slider()
          self._add_interpolator_radio()
          if is_standalone:
              self._add_save_button()
          self.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)
          logger.debug("Initialized %s ('%s')", self.__class__.__name__, self)
  
      @property
 
</s> remove         self.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)
 </s> add             self._frame.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)
 </s> remove     def __init__(self, save_variable: tk.BooleanVar) -> None:
        logger.debug("Initializing %s: (save_variable: %s)",
                     self.__class__.__name__, save_variable)
 </s> add     def __init__(self, save_variable: tk.BooleanVar, is_standalone: bool) -> None:
        logger.debug("Initializing %s: (save_variable: %s, is_standalone: %s)",
                     self.__class__.__name__, save_variable, is_standalone)
        self._is_standalone = is_standalone </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
 </s> remove         if self._scale != 1.0:
 </s> add         if self._scale not in (0.0, 1.0):  # Scale will be 0,0 on initial load in GUI </s> remove         self._initialized = not self._is_standalone
 </s> add         self._initialized = False
        if self._is_standalone:
                                 ("bicubic", cv2.INTER_CUBIC)]
          self._scale = self._add_scale_combo()
          self._slider = self._add_scale_slider()
          self._add_interpolator_radio()
        if self._is_standalone:
              self._add_save_button()
          self.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)
          logger.debug("Initialized %s ('%s')", self.__class__.__name__, self)
  
      @property
keep keep keep keep replace keep keep keep keep keep
 GUI - Preview updates
  - Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews 
lib/training/preview_tk.py