aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEugenio Buffo <buffo.eugenio@gmail.com>2022-10-26 17:32:42 +0200
committerEugenio Buffo <buffo.eugenio@gmail.com>2022-10-26 17:32:42 +0200
commit859f3b359d2ad9b4a44225e750a4bff510a0fdd8 (patch)
tree0e597061b6c1b3e3fbeae82cbd2ab9a1a4134b97 /modules
parent57450003a9d1d530f88ecc603eb1b8a344180961 (diff)
parent737eb28faca8be2bb996ee0930ec77d1f7ebd939 (diff)
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui
Diffstat (limited to 'modules')
-rw-r--r--modules/textual_inversion/textual_inversion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textual_inversion/textual_inversion.py b/modules/textual_inversion/textual_inversion.py
index 4fcebe74..ff002d3e 100644
--- a/modules/textual_inversion/textual_inversion.py
+++ b/modules/textual_inversion/textual_inversion.py
@@ -380,7 +380,7 @@ Last saved image: {html.escape(last_saved_image)}<br/>
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).
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)
return embedding, filename