Merge branch 'master' into test_resolve_conflicts

This commit is contained in:
MalumaDev
2022-10-18 08:55:08 +02:00
committed by GitHub
16 changed files with 287 additions and 60 deletions

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]