Skip to content

Commit 6675d0d

Browse files
committed
remove unsessery dump_cache()
1 parent ea5fd65 commit 6675d0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/textual_inversion/textual_inversion.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def read_embedding_from_image(self, path, name):
174174
# data of image embeddings only will be cached if the option textual_inversion_image_embedding_data_cache is enabled
175175
# results of images that are not embeddings will allways be cached to reduce unnecessary future disk reads
176176
self.image_embedding_cache[path] = {'data': data, 'name': None if data is None else name, 'mtime': ondisk_mtime}
177-
cache.dump_cache()
178177

179178
return data, name
180179
except Exception:

0 commit comments

Comments
 (0)