              frame = background
          np.clip(frame, 0.0, 1.0, out=frame)
          return frame
  
      def _scale_image(self, frame):
          """ Scale the final image if requested.
  
          If output scale has been requested in command line arguments, scale the output
          otherwise return the final frame.
  
 
</s> remove     def _get_model_name(self, model_dir):
 </s> add     def _get_model_name(self, model_dir: str) -> str: </s> remove         predicted: dict
 </s> add         predicted: :class:`~scripts.convert.ConvertItem` </s> remove     def _pre_warp_adjustments(self, new_face, detected_face, reference_face, predicted_mask):
 </s> add     def _pre_warp_adjustments(self,
                              new_face: np.ndarray,
                              detected_face: "DetectedFace",
                              reference_face: "AlignedFace",
                              predicted_mask: Optional[np.ndarray]) -> np.ndarray: </s> remove         logger.trace("resized frame: %s", frame.shape)
 </s> add         logger.trace("resized frame: %s", frame.shape)  # type: ignore </s> remove     def _get_frame_ranges(self):
 </s> add     def _get_frame_ranges(self) -> Optional[List[Tuple[int, int]]]:
    def _scale_image(self, frame: np.ndarray) -> np.ndarray:
              frame = background
          np.clip(frame, 0.0, 1.0, out=frame)
          return frame
  
    def _scale_image(self, frame: np.ndarray) -> np.ndarray:
          """ Scale the final image if requested.
  
          If output scale has been requested in command line arguments, scale the output
          otherwise return the final frame.
  
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
lib/convert.py