aboutsummaryrefslogtreecommitdiffstats
path: root/modules/modelloader.py
diff options
context:
space:
mode:
authorrandom-thoughtss <116161560+random-thoughtss@users.noreply.github.com>2022-11-03 22:55:54 +0000
committerGitHub <noreply@github.com>2022-11-03 22:55:54 +0000
commit243253ff4a8ae944ba142abe9c1e78a92dd14ebe (patch)
treec40402e18a29ca9a9b167a2f9e47dab39dce0943 /modules/modelloader.py
parentd9e4e4d7a09d4aee8ce249a3c8e91ce165b10fa5 (diff)
parent20a860b525cb7a319a42994f75a94bbca9a54d89 (diff)
downloadstable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.gz
stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.bz2
stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.zip
Merge branch 'AUTOMATIC1111:master' into master
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)