              tab = ttk.Notebook(self)
              self._tabs[section] = {"tab": tab}
              self.add(tab, text=section.replace("_", " ").title())
  
      def _build_sub_tabs(self):
          """ Build the notebook sub tabs for each convert section's plugin. """
          for section, plugins in self.config_tools.plugins_dict.items():
              for plugin in plugins:
                  config_key = ".".join((section, plugin))
                  config_dict = self.config_tools.config_dicts[config_key]
 
</s> remove     def _build_tabs(self):
 </s> add     def _build_tabs(self) -> None: </s> remove                 self._tabs[section]["tab"].add(tab, text=plugin.replace("_", " ").title())
 </s> add                 text = plugin.replace("_", " ").title()
                cast(ttk.Notebook, self._tabs[section]["tab"]).add(tab, text=text) </s> remove     def _add_patch_callback(self, patch_callback):
 </s> add     def _add_patch_callback(self, patch_callback: Callable[[], None]) -> None: </s> remove     def update_config(self):
 </s> add     def update_config(self) -> None: </s> remove         batch_required = sum([plugin.vram_per_batch * plugin.batchsize
                              for plugin in self._active_plugins])
 </s> add         batch_required = sum(plugin.vram_per_batch * plugin.batchsize
                             for plugin in self._active_plugins)
    def _build_sub_tabs(self) -> None:
              tab = ttk.Notebook(self)
              self._tabs[section] = {"tab": tab}
              self.add(tab, text=section.replace("_", " ").title())
  
    def _build_sub_tabs(self) -> None:
          """ Build the notebook sub tabs for each convert section's plugin. """
          for section, plugins in self.config_tools.plugins_dict.items():
              for plugin in plugins:
                  config_key = ".".join((section, plugin))
                  config_dict = self.config_tools.config_dicts[config_key]
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