aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ldsr_model.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-30 15:56:10 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-30 15:56:10 +0000
commit4794202ebc1f5184e0a15cc11d91ea9a23640f27 (patch)
tree3b02df4673b47f162c3a4e39abc682dbee0075b6 /modules/ldsr_model.py
parentac21d308cd0144b8e02e4cfa1fc36722b2d909d5 (diff)
downloadstable-diffusion-webui-gfx803-4794202ebc1f5184e0a15cc11d91ea9a23640f27.tar.gz
stable-diffusion-webui-gfx803-4794202ebc1f5184e0a15cc11d91ea9a23640f27.tar.bz2
stable-diffusion-webui-gfx803-4794202ebc1f5184e0a15cc11d91ea9a23640f27.zip
hello #1109
Diffstat (limited to 'modules/ldsr_model.py')
-rw-r--r--modules/ldsr_model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ldsr_model.py b/modules/ldsr_model.py
index 969d1a0d..877e7e73 100644
--- a/modules/ldsr_model.py
+++ b/modules/ldsr_model.py
@@ -24,7 +24,7 @@ class UpscalerLDSR(Upscaler):
def load_model(self, path: str):
model = load_file_from_url(url=self.model_url, model_dir=self.model_path,
file_name="model.pth", progress=True)
- yaml = load_file_from_url(url=self.model_url, model_dir=self.model_path,
+ yaml = load_file_from_url(url=self.yaml_url, model_dir=self.model_path,
file_name="project.yaml", progress=True)
try: