aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-30 12:15:29 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-30 12:15:29 +0300
commitcef838a6ab2b5c57489035446bf087b6d0527d2a (patch)
tree007561dc6390e34b3dc1e7995515c75e556fe045 /modules/sd_models.py
parent5b6d34f6753ac5a2936caed2f754dd7ddcab049a (diff)
revert the annotation not supported by old pythons
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index caa85d5e..ab014efb 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -15,7 +15,7 @@ model_dir = "Stable-diffusion"
model_path = os.path.abspath(os.path.join(models_path, model_dir))
model_name = "sd-v1-4.ckpt"
model_url = "https://drive.yerf.org/wl/?id=EBfTrmcCCUAGaQBXVIj5lJmEhjoP1tgl&mode=grid&download=1"
-user_dir: (str | None) = None
+user_dir = None
CheckpointInfo = namedtuple("CheckpointInfo", ['filename', 'title', 'hash', 'model_name'])
checkpoints_list = {}