diff options
author | Billy Cao <aliencaocao@gmail.com> | 2022-11-03 05:08:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 05:08:26 +0000 |
commit | 688aa2c9c1ce6cf65c43b6113411a185e294412b (patch) | |
tree | 32514b496717c3375988e180d51daa608b045e60 /modules/modelloader.py | |
parent | fb1374791bf4b4c9b49de5378f29b12fdabcac97 (diff) | |
parent | d98eacea40c7a40227f36dbea9cf92f90489310b (diff) | |
download | stable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.tar.gz stable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.tar.bz2 stable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.zip |
Merge branch 'AUTOMATIC1111:master' into fix_nowebui_arg
Diffstat (limited to 'modules/modelloader.py')
-rw-r--r-- | modules/modelloader.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/modelloader.py b/modules/modelloader.py index b0f2f33d..e4a6f8ac 100644 --- a/modules/modelloader.py +++ b/modules/modelloader.py @@ -85,6 +85,9 @@ def cleanup_models(): src_path = os.path.join(root_path, "ESRGAN") dest_path = os.path.join(models_path, "ESRGAN") move_files(src_path, dest_path) + src_path = os.path.join(models_path, "BSRGAN") + dest_path = os.path.join(models_path, "ESRGAN") + move_files(src_path, dest_path, ".pth") src_path = os.path.join(root_path, "gfpgan") dest_path = os.path.join(models_path, "GFPGAN") move_files(src_path, dest_path) |