Check for the embedding manager

master
dogewanwan 3 years ago committed by GitHub
parent 781f054a20
commit 6a8e76e37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -469,6 +469,7 @@ def process_images(outpath, func_init, func_sample, prompt, seed, sampler_name,
def load_embeddings(fp):
if fp is not None and hasattr(model, "embedding_manager"):
# load the file
model.embedding_manager.load(fp.name)

Loading…
Cancel
Save