From de6cfbc35b75c530e7fa24215962fad376299e51 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Sun, 23 Feb 2025 01:06:18 +0100 Subject: [PATCH] Fix CI --- face_swapper/src/inferencing.py | 2 +- face_swapper/src/types.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/face_swapper/src/inferencing.py b/face_swapper/src/inferencing.py index 30d3da5..64047cc 100644 --- a/face_swapper/src/inferencing.py +++ b/face_swapper/src/inferencing.py @@ -3,7 +3,7 @@ import configparser import cv2 import torch -from .helper import calc_embedding, convert_to_vision_frame, convert_to_tensor +from .helper import calc_embedding, convert_to_tensor, convert_to_vision_frame from .models.generator import Generator from .types import EmbedderModule, GeneratorModule, VisionFrame diff --git a/face_swapper/src/types.py b/face_swapper/src/types.py index 5dd0628..5560b46 100644 --- a/face_swapper/src/types.py +++ b/face_swapper/src/types.py @@ -1,5 +1,4 @@ -from collections import OrderedDict -from typing import Any, Dict, List, Tuple, TypeAlias +from typing import Any, Tuple, TypeAlias from numpy.typing import NDArray from torch import Tensor