Skip to content

Commit 91e9e03

Browse files
committed
topic indexing bugfix
1 parent 39577b4 commit 91e9e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

top2vec/Top2Vec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def load(cls, file):
820820
top2vec_model.serialized_word_index = None
821821

822822
# load topic index
823-
if top2vec_model.words_indexed:
823+
if top2vec_model.topics_indexed:
824824

825825
if not _HAVE_HNSWLIB:
826826
raise ImportError(f"Cannot load word index.\n\n"

0 commit comments

Comments
 (0)