          weight: float
              The amount of weight to apply to the given loss function
          """
          logger.debug("Adding loss function: %s, weight: %s", loss_function, weight)
          loss_wrapper.add_loss(loss_function,
                                weight=weight,
                                mask_channel=self._mask_channels[0])
  
          channel_idx = 1
          for section in ("eye_multiplier", "mouth_multiplier"):
 
</s> remove         loss_func: :class:`keras.losses.Loss`
 </s> add         loss_function: str </s> remove                                 loss_function: Callable,
 </s> add                                 loss_function: str, </s> remove                 loss_wrapper.add_loss(loss_function,
 </s> add                 loss_wrapper.add_loss(self._get_function(loss_function), </s> remove                      self._model.output_names, new_names)
        self._model.output_names = new_names
 </s> add                      self.model.output_names, new_names)
        self.model.output_names = new_names
        loss_wrapper.add_loss(self._get_function(loss_function),
          weight: float
              The amount of weight to apply to the given loss function
          """
          logger.debug("Adding loss function: %s, weight: %s", loss_function, weight)
        loss_wrapper.add_loss(self._get_function(loss_function),
                                weight=weight,
                                mask_channel=self._mask_channels[0])
  
          channel_idx = 1
          for section in ("eye_multiplier", "mouth_multiplier"):
keep keep keep keep replace keep keep keep keep keep
 Core updates
   - Change loss loading mechanism
   - Autosize tooltips based on content size
   - Random linting + code modernisation 
plugins/train/model/_base/settings.py