root
commited on
Commit
·
ba4d777
1
Parent(s):
fa8ab2c
removing more ui
Browse files- roop/__pycache__/core.cpython-310.pyc +0 -0
- roop/core.py +1 -7
roop/__pycache__/core.cpython-310.pyc
CHANGED
|
Binary files a/roop/__pycache__/core.cpython-310.pyc and b/roop/__pycache__/core.cpython-310.pyc differ
|
|
|
roop/core.py
CHANGED
|
@@ -19,7 +19,6 @@ import tensorflow
|
|
| 19 |
|
| 20 |
import roop.globals
|
| 21 |
import roop.metadata
|
| 22 |
-
import roop.ui as ui
|
| 23 |
from roop.predicter import predict_image, predict_video
|
| 24 |
from roop.processors.frame.core import get_frame_processors_modules
|
| 25 |
from roop.utilities import has_image_extension, is_image, is_video, detect_fps, create_video, extract_frames, get_temp_frame_paths, restore_audio, create_temp, move_temp, clean_temp, normalize_output_path
|
|
@@ -132,8 +131,6 @@ def pre_check() -> bool:
|
|
| 132 |
|
| 133 |
def update_status(message: str, scope: str = 'ROOP.CORE') -> None:
|
| 134 |
print(f'[{scope}] {message}')
|
| 135 |
-
if not roop.globals.headless:
|
| 136 |
-
ui.update_status(message)
|
| 137 |
|
| 138 |
|
| 139 |
def start() -> None:
|
|
@@ -209,7 +206,4 @@ def run() -> None:
|
|
| 209 |
return
|
| 210 |
limit_resources()
|
| 211 |
if roop.globals.headless:
|
| 212 |
-
start()
|
| 213 |
-
else:
|
| 214 |
-
window = ui.init(start, destroy)
|
| 215 |
-
window.mainloop()
|
|
|
|
| 19 |
|
| 20 |
import roop.globals
|
| 21 |
import roop.metadata
|
|
|
|
| 22 |
from roop.predicter import predict_image, predict_video
|
| 23 |
from roop.processors.frame.core import get_frame_processors_modules
|
| 24 |
from roop.utilities import has_image_extension, is_image, is_video, detect_fps, create_video, extract_frames, get_temp_frame_paths, restore_audio, create_temp, move_temp, clean_temp, normalize_output_path
|
|
|
|
| 131 |
|
| 132 |
def update_status(message: str, scope: str = 'ROOP.CORE') -> None:
|
| 133 |
print(f'[{scope}] {message}')
|
|
|
|
|
|
|
| 134 |
|
| 135 |
|
| 136 |
def start() -> None:
|
|
|
|
| 206 |
return
|
| 207 |
limit_resources()
|
| 208 |
if roop.globals.headless:
|
| 209 |
+
start()
|
|
|
|
|
|
|
|
|