aboutsummaryrefslogtreecommitdiff
path: root/modules/api/api.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-24 10:09:30 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-01-24 10:09:30 +0300
commit602a1864b05075ca4283986e6f5c7d5bce864e11 (patch)
treef45910524e7785b9ea105973d8d465de9f2a4f2c /modules/api/api.py
parent42a70d74771e8920f658e741679768ed145dd76a (diff)
also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing
Diffstat (limited to 'modules/api/api.py')
-rw-r--r--modules/api/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/api/api.py b/modules/api/api.py
index da2a5daf..25c65e57 100644
--- a/modules/api/api.py
+++ b/modules/api/api.py
@@ -380,6 +380,7 @@ class Api:
"name": upscaler.name,
"model_name": upscaler.scaler.model_name,
"model_path": upscaler.data_path,
+ "model_url": None,
"scale": upscaler.scale,
}
for upscaler in shared.sd_upscalers