From 0eb2833c02da481b56ed69eb07bd6c0baee5725e Mon Sep 17 00:00:00 2001 From: henryruhs Date: Tue, 29 Oct 2024 17:34:29 +0100 Subject: [PATCH] Switch to official assets repo --- facefusion/processors/modules/age_modifier.py | 8 ++++---- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/facefusion/processors/modules/age_modifier.py b/facefusion/processors/modules/age_modifier.py index 7d71a927..8a4d080a 100755 --- a/facefusion/processors/modules/age_modifier.py +++ b/facefusion/processors/modules/age_modifier.py @@ -32,16 +32,16 @@ MODEL_SET : ModelSet =\ { 'age_modifier': { - 'url': 'https://huggingface.co/bluefoxcreation/StyleGANEX-AGE/resolve/main/styleganex_age_opt.hash', - 'path': resolve_relative_path('../.assets/models/styleganex_age_opt.hash') + 'url': 'https://github.com/facefusion/facefusion-assets/releases/download/models-3.1.0/styleganex_age.hash', + 'path': resolve_relative_path('../.assets/models/styleganex_age.hash') } }, 'sources': { 'age_modifier': { - 'url': 'https://huggingface.co/bluefoxcreation/StyleGANEX-AGE/resolve/main/styleganex_age_opt.onnx', - 'path': resolve_relative_path('../.assets/models/styleganex_age_opt.onnx') + 'url': 'https://github.com/facefusion/facefusion-assets/releases/download/models-3.1.0/styleganex_age.onnx', + 'path': resolve_relative_path('../.assets/models/styleganex_age.onnx') } }, diff --git a/requirements.txt b/requirements.txt index 4680e434..b3ce88bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ filetype==1.2.0 -gradio==5.1.0 +gradio==5.4.0 gradio-rangeslider==0.0.8 numpy==2.1.0 onnx==1.16.1