Spaces:
Runtime error
Runtime error
Update roop/ui.py
Browse files- roop/ui.py +2 -1
roop/ui.py
CHANGED
@@ -9,7 +9,7 @@ import roop.globals
|
|
9 |
import roop.metadata
|
10 |
from roop.face_analyser import get_one_face
|
11 |
from roop.capturer import get_video_frame, get_video_frame_total
|
12 |
-
from roop.
|
13 |
from roop.processors.frame.core import get_frame_processors_modules
|
14 |
from roop.utilities import is_image, is_video, resolve_relative_path
|
15 |
|
@@ -229,3 +229,4 @@ def update_preview(frame_number: int = 0) -> None:
|
|
229 |
image = ImageOps.contain(image, (PREVIEW_MAX_WIDTH, PREVIEW_MAX_HEIGHT), Image.LANCZOS)
|
230 |
image = ctk.CTkImage(image, size=image.size)
|
231 |
preview_label.configure(image=image)
|
|
|
|
9 |
import roop.metadata
|
10 |
from roop.face_analyser import get_one_face
|
11 |
from roop.capturer import get_video_frame, get_video_frame_total
|
12 |
+
from roop.predictor import predict_frame
|
13 |
from roop.processors.frame.core import get_frame_processors_modules
|
14 |
from roop.utilities import is_image, is_video, resolve_relative_path
|
15 |
|
|
|
229 |
image = ImageOps.contain(image, (PREVIEW_MAX_WIDTH, PREVIEW_MAX_HEIGHT), Image.LANCZOS)
|
230 |
image = ctk.CTkImage(image, size=image.size)
|
231 |
preview_label.configure(image=image)
|
232 |
+
|