mirror of
https://github.com/deepfakes/faceswap.git
synced 2026-10-18 22:45:59 +08:00
17 lines
462 B
Python
17 lines
462 B
Python
#!/usr/bin/env python3
|
|
""" Package for handling alignments files, detected faces and aligned faces along with their
|
|
associated objects. """
|
|
from __future__ import annotations
|
|
import typing as T
|
|
|
|
from .preview_cv import PreviewBuffer, TriggerType
|
|
|
|
if T.TYPE_CHECKING:
|
|
from .preview_cv import PreviewBase
|
|
Preview: type[PreviewBase]
|
|
|
|
try:
|
|
from .preview_tk import PreviewTk as Preview
|
|
except ImportError:
|
|
from .preview_cv import PreviewCV as Preview
|