Skip to content

Commit

Permalink
topic indexing bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddangelov committed Nov 3, 2023
1 parent 39577b4 commit 91e9e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion top2vec/Top2Vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ def load(cls, file):
top2vec_model.serialized_word_index = None

# load topic index
if top2vec_model.words_indexed:
if top2vec_model.topics_indexed:

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

0 comments on commit 91e9e03

Please sign in to comment.