aboutsummaryrefslogtreecommitdiffstats
path: root/modules/modelloader.py
diff options
context:
space:
mode:
authorMuhammad Rizqi Nur <rizqinur2010@gmail.com>2022-11-02 13:53:41 +0000
committerMuhammad Rizqi Nur <rizqinur2010@gmail.com>2022-11-02 13:53:41 +0000
commitfb3b564801b6c01c220014c9b3bdebdee2b57215 (patch)
tree00d73653e65552691bde9ca5e474d59285e95c39 /modules/modelloader.py
parentbf7a699845675eefdabb9cfa40c55398976274ae (diff)
parent172c4bc09f0866e7dd114068ebe0f9abfe79ef33 (diff)
downloadstable-diffusion-webui-gfx803-fb3b564801b6c01c220014c9b3bdebdee2b57215.tar.gz
stable-diffusion-webui-gfx803-fb3b564801b6c01c220014c9b3bdebdee2b57215.tar.bz2
stable-diffusion-webui-gfx803-fb3b564801b6c01c220014c9b3bdebdee2b57215.zip
Merge branch 'master' into fix-ckpt-cache
Diffstat (limited to 'modules/modelloader.py')
-rw-r--r--modules/modelloader.py3
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)