mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 11:12:35 +00:00
validate textual inversion embeddings
This commit is contained in:
@@ -325,6 +325,9 @@ def load_model(checkpoint_info=None):
|
||||
script_callbacks.model_loaded_callback(sd_model)
|
||||
|
||||
print("Model loaded.")
|
||||
|
||||
sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload = True) # Reload embeddings after model load as they may or may not fit the model
|
||||
|
||||
return sd_model
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user