  from lib.utils import get_backend
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  _INSTANCES = -1  # Tracking for multiple instances of pipeline
  
  
 
</s> remove from typing import Optional, List, Tuple
 </s> add from typing import Optional, List, Tuple, TYPE_CHECKING </s> remove from tkinter import ttk
 </s> add from tkinter import PhotoImage, ttk
from typing import Any, Callable, cast, Dict, List, Optional, Tuple, TYPE_CHECKING, Union
if sys.version_info < (3, 8):
    from typing_extensions import Literal
else:
    from typing import Literal

if TYPE_CHECKING:
    import numpy as np
    from lib.align.detected_face import DetectedFace

  from lib.utils import get_backend
  from plugins.plugin_loader import PluginLoader
  
if sys.version_info < (3, 8):
    from typing_extensions import Literal
else:
    from typing import Literal

if TYPE_CHECKING:
    import numpy as np
    from lib.align.detected_face import DetectedFace

  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  _INSTANCES = -1  # Tracking for multiple instances of pipeline
  
  
keep keep add 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 
plugins/extract/pipeline.py