mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
This commit is contained in:
commit
21cbba34f5
@ -380,7 +380,7 @@ Last saved image: {html.escape(last_saved_image)}<br/>
|
|||||||
embedding.cached_checksum = None
|
embedding.cached_checksum = None
|
||||||
# Before saving for the last time, change name back to base name (as opposed to the save_embedding_every step-suffixed naming convention).
|
# Before saving for the last time, change name back to base name (as opposed to the save_embedding_every step-suffixed naming convention).
|
||||||
embedding.name = embedding_name
|
embedding.name = embedding_name
|
||||||
filename = os.path.join(shared.cmd_opts.embedding_dir, f'{embedding.name}.pt')
|
filename = os.path.join(shared.cmd_opts.embeddings_dir, f'{embedding.name}.pt')
|
||||||
embedding.save(filename)
|
embedding.save(filename)
|
||||||
|
|
||||||
return embedding, filename
|
return embedding, filename
|
||||||
|
Loading…
Reference in New Issue
Block a user