diff options
author | victorca25 <41912303+victorca25@users.noreply.github.com> | 2022-10-09 12:11:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 12:11:22 +0000 |
commit | 53154ba10a2d4bf716046abec3da0eca91bcc001 (patch) | |
tree | eeed0b11b4e5cae7a441992b0ae07bfe65212413 /modules/upscaler.py | |
parent | ad4de819c43997f2666b5bad95301f5c37f9018e (diff) | |
parent | 9d1138e2940c4ddcd2685bcba12c7d407e9e0ec5 (diff) | |
download | stable-diffusion-webui-gfx803-53154ba10a2d4bf716046abec3da0eca91bcc001.tar.gz stable-diffusion-webui-gfx803-53154ba10a2d4bf716046abec3da0eca91bcc001.tar.bz2 stable-diffusion-webui-gfx803-53154ba10a2d4bf716046abec3da0eca91bcc001.zip |
Merge branch 'master' into esrgan_mod
Diffstat (limited to 'modules/upscaler.py')
-rw-r--r-- | modules/upscaler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upscaler.py b/modules/upscaler.py index 34672be7..6ab2fb40 100644 --- a/modules/upscaler.py +++ b/modules/upscaler.py @@ -37,7 +37,7 @@ class Upscaler: self.pre_pad = 0 self.mod_scale = None - if self.model_path is not None and self.name: + if self.model_path is None and self.name: self.model_path = os.path.join(models_path, self.name) if self.model_path and create_dirs: os.makedirs(self.model_path, exist_ok=True) |