aboutsummaryrefslogtreecommitdiffstats
path: root/modules/upscaler.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-17 10:57:55 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-01-17 10:57:55 +0000
commitaede265f1d6d512ca9e51a305e98a96a215366c4 (patch)
tree60bb387d26d4ed011c91f7f43b44d8fd3490e6a5 /modules/upscaler.py
parentc361b89026442f3412162657f330d500b803e052 (diff)
downloadstable-diffusion-webui-gfx803-aede265f1d6d512ca9e51a305e98a96a215366c4.tar.gz
stable-diffusion-webui-gfx803-aede265f1d6d512ca9e51a305e98a96a215366c4.tar.bz2
stable-diffusion-webui-gfx803-aede265f1d6d512ca9e51a305e98a96a215366c4.zip
Fix unable to find Real-ESRGAN model info error (AttributeError: 'NoneType' object has no attribute 'data_path') #6841 #5170
Diffstat (limited to 'modules/upscaler.py')
-rw-r--r--modules/upscaler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/upscaler.py b/modules/upscaler.py
index 231680cb..a5bf5acb 100644
--- a/modules/upscaler.py
+++ b/modules/upscaler.py
@@ -95,6 +95,7 @@ class UpscalerData:
def __init__(self, name: str, path: str, upscaler: Upscaler = None, scale: int = 4, model=None):
self.name = name
self.data_path = path
+ self.local_data_path = path
self.scaler = upscaler
self.scale = scale
self.model = model