mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
chore: Fix typos
This commit is contained in:

committed by
AUTOMATIC1111

parent
610a7f4e14
commit
432782163a
@@ -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:
|
||||
|
Reference in New Issue
Block a user