From b49e732ed967b88682851308871e5d4b933a23cd Mon Sep 17 00:00:00 2001 From: Pozitronik Date: Thu, 24 Aug 2023 09:25:43 +0400 Subject: [PATCH 1/3] replace GFPGAN download url to the real one --- sinner/processors/frame/FaceEnhancer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinner/processors/frame/FaceEnhancer.py b/sinner/processors/frame/FaceEnhancer.py index a773b897..1a93ad27 100644 --- a/sinner/processors/frame/FaceEnhancer.py +++ b/sinner/processors/frame/FaceEnhancer.py @@ -76,7 +76,7 @@ def face_enhancer(self) -> GFPGANer: def __init__(self, parameters: Namespace, target_path: str | None = None) -> None: download_directory_path = get_app_dir('models') - conditional_download(download_directory_path, ['https://huggingface.co/henryruhs/roop/resolve/main/GFPGANv1.4.pth']) + conditional_download(download_directory_path, ['https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1.4.pth']) super().__init__(parameters, target_path) def enhance_face(self, temp_frame: Frame) -> Frame: From 93eb95edff7413f0e8af676acf6fc36ee047f18a Mon Sep 17 00:00:00 2001 From: Pozitronik Date: Thu, 24 Aug 2023 09:31:19 +0400 Subject: [PATCH 2/3] remove credits line --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 20efc8f2..72a73f8b 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,6 @@ sinner uses the same ML libraries to perform its magic, but handles them in its ## Credits - [s0md3v](https://github.com/s0md3v/): the original author of roop -- [henryruhs](https://github.com/henryruhs): the significant contributor to roop - [ffmpeg](https://ffmpeg.org/): for making video related operations easy - [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models. - [ARC Lab, Tencent PCG](https://github.com/TencentARC): for their [GFPGAN](https://github.com/TencentARC/GFPGAN) project which provided a face restoration library and models. From 5aff841eb58a015599a19d3ef4a2dc8d35d53ae3 Mon Sep 17 00:00:00 2001 From: Pozitronik Date: Thu, 24 Aug 2023 09:33:43 +0400 Subject: [PATCH 3/3] replace inswapper download url to the one from releases --- sinner/processors/frame/FaceSwapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinner/processors/frame/FaceSwapper.py b/sinner/processors/frame/FaceSwapper.py index e20b8b5f..2542b4f0 100644 --- a/sinner/processors/frame/FaceSwapper.py +++ b/sinner/processors/frame/FaceSwapper.py @@ -101,7 +101,7 @@ def face_swapper(self) -> FaceSwapperType: def __init__(self, parameters: Namespace, target_path: str | None = None) -> None: download_directory_path = get_app_dir('models') - conditional_download(download_directory_path, ['https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx']) + conditional_download(download_directory_path, ['https://github.com/pozitronik/sinner/releases/download/v200823/inswapper_128.onnx']) super().__init__(parameters, target_path) def process_frame(self, frame: Frame) -> Frame: