Fix various typos with crate-ci/typos

This commit is contained in:
Aarni Koskela
2024-03-04 08:37:23 +02:00
parent e2a8745abc
commit e3fa46f26f
36 changed files with 76 additions and 71 deletions

View File

@@ -172,7 +172,7 @@ class EmbeddingDatabase:
if data:
name = data.get('name', name)
else:
# if data is None, means this is not an embeding, just a preview image
# if data is None, means this is not an embedding, just a preview image
return
elif ext in ['.BIN', '.PT']:
data = torch.load(path, map_location="cpu")