                  self.__print_loss(loss)
              else:
                  for key, val in loss.items():
                      self._pingpong.loss[key] = val
                  self.__print_loss(self._pingpong.loss)
  
              if do_preview:
                  samples = self._samples.show_sample()
                  if samples is not None:
                      viewer(samples, "Training - 'S': Save Now. 'ENTER': Save and Quit")
 
</s> remove                 self.__print_loss(loss)
 </s> add                 self.__print_loss(loss, is_colab) </s> remove                 exit(1)
 </s> add                 sys.exit(1) </s> remove                     "Terminate" if self._args.redirect_gui else "ENTER")
        if not self._args.redirect_gui:
 </s> add                     "Stop" if self._args.redirect_gui or self._args.colab else "ENTER")
        if not self._args.redirect_gui and not self._args.colab:
                self.__print_loss(self._pingpong.loss, is_colab)
                  self.__print_loss(loss)
              else:
                  for key, val in loss.items():
                      self._pingpong.loss[key] = val
                self.__print_loss(self._pingpong.loss, is_colab)
  
              if do_preview:
                  samples = self._samples.show_sample()
                  if samples is not None:
                      viewer(samples, "Training - 'S': Save Now. 'ENTER': Save and Quit")
keep keep keep keep replace keep keep keep keep keep
 lib,cli: Add suppressed colab flag 
plugins/train/trainer/_base.py