print list of embeddings on reload

This commit is contained in:
DepFA 2022-10-16 20:28:15 +01:00 committed by AUTOMATIC1111
parent b99d3cf6dd
commit 62edfae257

View file

@ -137,6 +137,7 @@ class EmbeddingDatabase:
continue
print(f"Loaded a total of {len(self.word_embeddings)} textual inversion embeddings.")
print("Embeddings:", ', '.join(self.word_embeddings.keys()))
def find_embedding_at_position(self, tokens, offset):
token = tokens[offset]