                  config_dicts.setdefault(section, {})[key] = cp_option
          logger.debug("Formatted Config for GUI: %s", config_dicts)
          return config_dicts
  
      def reset_config_to_saved(self, section=None):
          """ Reset the GUI parameters to their saved values within the configuration file.
  
          Parameters
          ----------
          section: str, optional
 
</s> remove     def reset_config_to_default(self, section=None):
 </s> add     def reset_config_to_default(self, section: Optional[str] = None) -> None: </s> remove     def save_config(self, section=None):
 </s> add     def save_config(self, section: Optional[str] = None) -> None: </s> remove         config_dicts = {}
 </s> add         config_dicts: Dict[str, Dict[str, Any]] = {} </s> remove     def _alignments_faces(self, frame_name, image):
 </s> add     def _alignments_faces(self, frame_name: str, image: np.ndarray) -> List[DetectedFace]: </s> remove     def __init__(self, output_size, coverage_ratio, centering, draw_transparent, pre_encode,
                 arguments, configfile=None):
 </s> add     def __init__(self,
                 output_size: int,
                 coverage_ratio: float,
                 centering: "CenteringType",
                 draw_transparent: bool,
                 pre_encode: Optional[Callable[[np.ndarray], List[bytes]]],
                 arguments: "Namespace",
                 configfile: Optional[str] = None) -> None:
    def reset_config_to_saved(self, section: Optional[str] = None) -> None:
                  config_dicts.setdefault(section, {})[key] = cp_option
          logger.debug("Formatted Config for GUI: %s", config_dicts)
          return config_dicts
  
    def reset_config_to_saved(self, section: Optional[str] = None) -> None:
          """ Reset the GUI parameters to their saved values within the configuration file.
  
          Parameters
          ----------
          section: str, optional
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 
tools/preview/preview.py