Rename files

This commit is contained in:
henryruhs 2023-05-31 21:17:01 +02:00
parent 91b7301f32
commit 5aa91e9157
3 changed files with 46 additions and 46 deletions

View File

@ -3,7 +3,7 @@ from tqdm import tqdm
import cv2 import cv2
import insightface import insightface
import core.globals import core.globals
from core.config import get_face from core.analyser import get_face
FACE_SWAPPER = None FACE_SWAPPER = None

4
run.py
View File

@ -21,9 +21,9 @@ import cv2
import threading import threading
from PIL import Image, ImageTk from PIL import Image, ImageTk
import core.globals import core.globals
from core.processor import process_video, process_img from core.swapper import process_video, process_img
from core.utils import is_img, detect_fps, set_fps, create_video, add_audio, extract_frames, rreplace from core.utils import is_img, detect_fps, set_fps, create_video, add_audio, extract_frames, rreplace
from core.config import get_face from core.analyser import get_face
if 'ROCMExecutionProvider' in core.globals.providers: if 'ROCMExecutionProvider' in core.globals.providers:
del torch del torch