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
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