aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorAidan Holland <thehappydinoa@gmail.com>2022-10-08 15:12:24 -0400
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-08 22:42:30 +0300
commit432782163ae53e605470bcefc9a6f796c4556912 (patch)
treef2d3b66f42702599bbbe2267e6b27349ed970d1c /modules/sd_models.py
parent610a7f4e1480c0ffeedb2a07dc27ae86bf03c3a8 (diff)
chore: Fix typos
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index 9409d070..a09866ce 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -147,7 +147,7 @@ def load_model_weights(model, checkpoint_file, sd_model_hash):
model.first_stage_model.load_state_dict(vae_dict)
model.sd_model_hash = sd_model_hash
- model.sd_model_checkpint = checkpoint_file
+ model.sd_model_checkpoint = checkpoint_file
def load_model():
@@ -175,7 +175,7 @@ def reload_model_weights(sd_model, info=None):
from modules import lowvram, devices, sd_hijack
checkpoint_info = info or select_checkpoint()
- if sd_model.sd_model_checkpint == checkpoint_info.filename:
+ if sd_model.sd_model_checkpoint == checkpoint_info.filename:
return
if shared.cmd_opts.lowvram or shared.cmd_opts.medvram: