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. 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: 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: