change enhance
Browse files
roop/processors/frame/face_enhancer.py
CHANGED
@@ -43,7 +43,7 @@ def clear_face_enhancer() -> None:
|
|
43 |
|
44 |
def pre_check() -> bool:
|
45 |
download_directory_path = resolve_relative_path('../models')
|
46 |
-
conditional_download(download_directory_path, ['https://github.com/TencentARC/GFPGAN/releases/download/v1.3.
|
47 |
return True
|
48 |
|
49 |
|
@@ -101,4 +101,4 @@ def process_image(source_path: str, target_path: str, output_path: str) -> None:
|
|
101 |
|
102 |
|
103 |
def process_video(source_path: str, temp_frame_paths: List[str]) -> None:
|
104 |
-
roop.processors.frame.core.process_video(None, temp_frame_paths, process_frames)
|
|
|
43 |
|
44 |
def pre_check() -> bool:
|
45 |
download_directory_path = resolve_relative_path('../models')
|
46 |
+
conditional_download(download_directory_path, ['https://github.com/TencentARC/GFPGAN/releases/download/v1.3.8/GFPGANv1.4.pth'])
|
47 |
return True
|
48 |
|
49 |
|
|
|
101 |
|
102 |
|
103 |
def process_video(source_path: str, temp_frame_paths: List[str]) -> None:
|
104 |
+
roop.processors.frame.core.process_video(None, temp_frame_paths, process_frames)
|