aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorYevhenii Hurin <evgeny.gurin@gmail.com>2023-01-29 13:47:14 +0000
committerYevhenii Hurin <evgeny.gurin@gmail.com>2023-01-29 13:47:14 +0000
commitc46f3ad98b1171d7ad42bf1653e6770b52147bfd (patch)
tree3eb596481afd559bf94a8c696b93d3f22b0e65c8 /modules/sd_models.py
parent7c53f81caf817a7e7dc9c2fafebfcce269ecb1d7 (diff)
parent00dab8f10defbbda579a1bc89c8d4e972c58a20d (diff)
downloadstable-diffusion-webui-gfx803-c46f3ad98b1171d7ad42bf1653e6770b52147bfd.tar.gz
stable-diffusion-webui-gfx803-c46f3ad98b1171d7ad42bf1653e6770b52147bfd.tar.bz2
stable-diffusion-webui-gfx803-c46f3ad98b1171d7ad42bf1653e6770b52147bfd.zip
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index c45ddf83..300387a9 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -41,6 +41,7 @@ class CheckpointInfo:
name = name[1:]
self.name = name
+ self.name_for_extra = os.path.splitext(os.path.basename(filename))[0]
self.model_name = os.path.splitext(name.replace("/", "_").replace("\\", "_"))[0]
self.hash = model_hash(filename)