              logger.debug("Adding %s radio button", text)
              radio = tk.Radiobutton(frame, text=text, value=mode, variable=self.interpolator_var)
              radio.pack(side=tk.LEFT, anchor=tk.W)
          self.interpolator_var.set(cv2.INTER_NEAREST)
          frame.pack(side=tk.RIGHT)
          self._track_widget(frame)
  
      def _add_save_button(self) -> None:
          """ Add a save button for saving out original preview """
 
</s> remove         frame = tk.Frame(self)
 </s> add         frame = tk.Frame(self._frame) </s> remove         button = tk.Button(self,
 </s> add         button = tk.Button(self._frame,
            self._track_widget(radio)

            logger.debug("Added %s radio button", radio)
              logger.debug("Adding %s radio button", text)
              radio = tk.Radiobutton(frame, text=text, value=mode, variable=self.interpolator_var)
              radio.pack(side=tk.LEFT, anchor=tk.W)
            self._track_widget(radio)

            logger.debug("Added %s radio button", radio)
          self.interpolator_var.set(cv2.INTER_NEAREST)
          frame.pack(side=tk.RIGHT)
          self._track_widget(frame)
  
      def _add_save_button(self) -> None:
          """ Add a save button for saving out original preview """
keep keep add keep keep keep keep keep keep
 GUI - Preview updates
  - Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews 
lib/training/preview_tk.py